NO
This commit is contained in:
parent
117e3b0f12
commit
471f013404
1 changed files with 1 additions and 1 deletions
|
@ -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<number> => {
|
||||
let tempbans: FindResult<TempBan> = await client.db.get('tempbans').find({ bannedUser: id, server: message.serverContext._id });
|
||||
|
|
Loading…
Reference in a new issue