mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
NO
This commit is contained in:
parent
117e3b0f12
commit
471f013404
|
@ -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