ignore @everyone mentions
This commit is contained in:
parent
74359067d0
commit
dc01146ee8
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ discord.on("ready", event => {
|
||||||
|
|
||||||
discord.on("messageCreate", message => {
|
discord.on("messageCreate", message => {
|
||||||
if (message.author.bot) return;
|
if (message.author.bot) return;
|
||||||
if (!message.mentions.has(message.client.user)) return;
|
if (!message.mentions.has(message.client.user, { ignoreEveryone: true })) return;
|
||||||
|
|
||||||
return queueRequest(message);
|
return queueRequest(message);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue