From b92f548956b3a318b35b4593808a91eb54b458d8 Mon Sep 17 00:00:00 2001 From: Austin M Date: Fri, 17 Apr 2020 13:35:37 -0700 Subject: [PATCH] :ambulance: Bot hotfix Bot hotfix --- src/processes/antiraidListener.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/processes/antiraidListener.ts b/src/processes/antiraidListener.ts index ecc33e1..9165cf4 100644 --- a/src/processes/antiraidListener.ts +++ b/src/processes/antiraidListener.ts @@ -30,6 +30,7 @@ export const antiraidListener: ProcessInterface = { // console.log(staffRole, seniorRole) client.on('message', async (message: Message) => { + if (message.author.bot) return const lastKnownTimestamp = mentions.get(message.author.id) ?? null const userRoleIds = message.member.roles.cache.map(r => r.id)