From 9b2b141af66d917f4744713e5503b0d7bd55f83b Mon Sep 17 00:00:00 2001 From: Skye Date: Fri, 10 Mar 2023 21:08:36 +0900 Subject: [PATCH] ignore even less --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index 75132dd..85cda64 100644 --- a/index.ts +++ b/index.ts @@ -61,6 +61,7 @@ client.on("messageCreate", async (message) => { const context = [ ...msgs .filter((msg) => { + if (msg.webhookId && !msg.content.startsWith("\\")) return true; if (msg.author.bot && msg.author !== msg.author.client.user) return false; if (msg.content.startsWith("\\")) return false;