From dc01146ee82e05f5656ae7cb54d074d21ba0be6a Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 25 Dec 2023 16:09:35 +0100 Subject: [PATCH] ignore @everyone mentions --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e0506ab..a565a3f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,7 +58,7 @@ discord.on("ready", event => { discord.on("messageCreate", message => { 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); });