From c5a15408ad68976157a0fcf1754dd3eaeecbefb5 Mon Sep 17 00:00:00 2001 From: Noah Heague Date: Sun, 15 Aug 2021 18:42:28 +1000 Subject: [PATCH] Allow bot to run in any channel --- bot/src/utils/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/src/utils/utils.ts b/bot/src/utils/utils.ts index e6f6ddf6b..954cf0cf4 100644 --- a/bot/src/utils/utils.ts +++ b/bot/src/utils/utils.ts @@ -2,6 +2,5 @@ import { Message } from "discord.js"; import { allowedChannels } from "../config"; export const shouldReply = (message: Message): boolean => - allowedChannels.includes(message.channelId) && - message.author.id !== "876320894295887944" && + message.author.id !== "876320894295887944" && !message.author.bot;