From b40b2857d28e89d8f66802a951dbad37a56d1692 Mon Sep 17 00:00:00 2001 From: Neko Life Date: Mon, 28 Jun 2021 22:47:09 +0900 Subject: [PATCH] sfggggg --- Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.js b/Main.js index 9c7f756..3080dcb 100644 --- a/Main.js +++ b/Main.js @@ -59,7 +59,7 @@ client.on("message", async msg => { if (!msg.author.dbLoaded && !msg.author.bot) await msg.author.dbLoad(); lgr.message.letsChat(msg); - if (msg.mentions.has(client.user) && !msg.isCommand) { + if (msg.mentions.has(client.user) && !msg.isCommand && msg.channel.id != configFile.chatChannel) { const re = new RegExp("@​" + (msg.guild ? msg.guild.member(client.user).displayName : msg.author.username)); const u = msg.cleanContent.replace(re, "").trim(); console.log(u, re);