From 6a19522f137d331c443f79a0b19074cdbb4fb617 Mon Sep 17 00:00:00 2001 From: Matthieu Pignolet Date: Fri, 23 Aug 2024 23:31:30 +0400 Subject: [PATCH] Update index.mjs --- discordjs/src/index.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs index 080f76b..254af41 100644 --- a/discordjs/src/index.mjs +++ b/discordjs/src/index.mjs @@ -48,6 +48,10 @@ const specialChannels = [ "995243987948544090" ] +const ignoredEveryoneChannels = [ + "1055130476395909210" +] + let counter = 0; const messageAction = async (message) => { if (message.author.bot) return; @@ -75,7 +79,7 @@ const messageAction = async (message) => { } } - if (message.cleanContent.includes("@everyone")) { + if (message.cleanContent.includes("@everyone") && !ignoredEveryoneChannels.includes(message.channelId)) { message.reply("https://cdn.mpgn.dev/pascontent-gabe.gif"); } if (message.content.includes("<:quoi:1061204752542748742>")) { -- 2.39.5