From e58c82f6da4ac5dd5c79fc9f7573b0324c227857 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 14 Sep 2023 13:14:29 -0600 Subject: [PATCH] Fix automatic crosspost --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c2582be..d6b8ad5 100755 --- a/index.js +++ b/index.js @@ -82,7 +82,7 @@ bot.on("ready", () => { }) bot.on("messageCreate", (msg) => { - if(msg.author.bot) return; + if(!msg.webhookId) return; if (config.discord.channels.includes(msg.channel.id)) { msg.crosspost(); }