3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00

Fix where and follow not pinging requestor

This commit is contained in:
Dark 2021-04-28 23:29:26 +02:00
parent 73f0b7e30b
commit f44e490a9d
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8

View file

@ -25,8 +25,9 @@ export async function sendWhere(
sendErrorMessage(pluginData, channel, "Cannot create an invite to that channel!");
return;
}
channel.createMessage(
prepend + `${member.mention} is in the following channel: \`${voice.name}\` ${getInviteLink(invite)}`,
);
channel.createMessage({
content: prepend + `${member.mention} is in the following channel: \`${voice.name}\` ${getInviteLink(invite)}`,
allowedMentions: { users: true },
});
}
}