From 7460487cc1787f9120111716caa034da5bd1f312 Mon Sep 17 00:00:00 2001 From: Lea Date: Mon, 20 Mar 2023 21:25:55 +0100 Subject: [PATCH] el idiota --- src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index b7dfe9c..5af3fc9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -216,8 +216,6 @@ client.on('message', async (message) => { const logs = client.channels.get(process.env.LOGS!); const privileged = message.member?.hasPermission(message.channel?.server!, 'ManageMessages'); - if (!Object.keys(COMMANDS).includes(args[0]?.toLowerCase())) return; - if (!privileged && db.data?.blocked.includes(message.author_id)) { console.log('Ignoring nerd'); try {