From 471f013404a264d06351d2e529289ca2bddf7323 Mon Sep 17 00:00:00 2001 From: janderedev Date: Thu, 17 Mar 2022 00:10:04 +0100 Subject: [PATCH] NO --- bot/src/bot/commands/unban.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/bot/commands/unban.ts b/bot/src/bot/commands/unban.ts index 8adf332..a4aabfc 100644 --- a/bot/src/bot/commands/unban.ts +++ b/bot/src/bot/commands/unban.ts @@ -13,7 +13,7 @@ export default { syntax: '/unban [@user or ID]', category: 'moderation', run: async (message: MessageCommandContext, args: string[]) => { - if (!isModerator(message)) return message.reply(NO_MANAGER_MSG); + if (!await isModerator(message)) return message.reply(NO_MANAGER_MSG); let checkTempBans = async (id: string): Promise => { let tempbans: FindResult = await client.db.get('tempbans').find({ bannedUser: id, server: message.serverContext._id });