diff --git a/src/modules/codePreviews.js b/src/modules/codePreviews.js index c53393b..162361b 100644 --- a/src/modules/codePreviews.js +++ b/src/modules/codePreviews.js @@ -78,6 +78,7 @@ async function processFile(link) { } events.add("messageCreate", "codePreviews", async function (msg) { + if (msg.author.id == hf.bot.user.id) return; if (!msg.guildID) return; if (!(await hasFlag(msg.guildID, "codePreviews"))) return;