diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-02 19:27:17 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-02 19:27:17 -0400 |
commit | 39927eb63081eb8120f75ad38bc336bb48d0f2a7 (patch) | |
tree | b1aff37a481c431a79f6016dbf3d838df96af6f5 /src/commands/moderation/kick.ts | |
parent | 1623beebadefa38769db134a0fbfce0c34b38846 (diff) | |
download | tanzanite-39927eb63081eb8120f75ad38bc336bb48d0f2a7.tar.gz tanzanite-39927eb63081eb8120f75ad38bc336bb48d0f2a7.tar.bz2 tanzanite-39927eb63081eb8120f75ad38bc336bb48d0f2a7.zip |
moderation permission changes
Diffstat (limited to 'src/commands/moderation/kick.ts')
-rw-r--r-- | src/commands/moderation/kick.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts index 341d83c..e7f9708 100644 --- a/src/commands/moderation/kick.ts +++ b/src/commands/moderation/kick.ts @@ -67,7 +67,7 @@ export default class KickCommand extends BushCommand { ); if (!message.member) throw new Error(`message.member is null`); const useForce = force && message.author.isOwner(); - const canModerateResponse = util.moderationPermissionCheck(message.member, member, 'kick', true, useForce); + const canModerateResponse = await util.moderationPermissionCheck(message.member, member, 'kick', true, useForce); if (canModerateResponse !== true) { return message.util.reply(canModerateResponse); |