From 67f017429ffc0c33f06ee0d7043ec5854f997810 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 8 May 2025 00:41:46 -0600 Subject: [PATCH] I hate myself kekw --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a3a700c..9c4b144 100644 --- a/index.js +++ b/index.js @@ -427,7 +427,7 @@ const handleDiscord = function (data) { let channel = discord.channels.cache.get(row.channelid); if (!channel) return console.log(`${colors.red("[ERROR]")} Channel ${row.channelid} not found`); - if (!filters.some((filter) => string.toLowerCase().includes(filter)) && !filters.some((filter) => text.toLowerCase().includes(filter))) return; + if (!filters.some((filter) => body.string.toLowerCase().includes(filter)) && !filters.some((filter) => text.toLowerCase().includes(filter))) return; thisMsg = JSON.parse(JSON.stringify(discordMsg)); thisMsg.content = row.custommessage || null; channel.send(thisMsg).catch((err) => {