ignore @everyone mentions

This commit is contained in:
Wroclaw 2023-12-25 16:09:35 +01:00
parent 74359067d0
commit dc01146ee8

View file

@ -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);
}); });