From c57e5f274d6bc31bbb38ba1c2333a230011b8e8e Mon Sep 17 00:00:00 2001 From: max <29782397+mxz7@users.noreply.github.com> Date: Mon, 22 Jul 2024 21:54:32 +0100 Subject: [PATCH] nvm all servers! --- src/utils/handlers/commandhandler.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/utils/handlers/commandhandler.ts b/src/utils/handlers/commandhandler.ts index bb19061d6..484314a45 100644 --- a/src/utils/handlers/commandhandler.ts +++ b/src/utils/handlers/commandhandler.ts @@ -547,16 +547,7 @@ export async function runCommand( args: string[], ) { const preProcessLength = [performance.now()]; - if (message.author.bot) { - if ( - message.author.id === "974297735559806986" && - message.guildId === Constants.NYPSI_SERVER_ID - ) { - // continue - } else { - return; - } - } + if (message.author.bot && message.author.id !== "974297735559806986") return; if (!message.channel.isTextBased()) return; if (message.channel.isDMBased()) return;