diff options
Diffstat (limited to 'src/commands/moderation/unban.ts')
-rw-r--r-- | src/commands/moderation/unban.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts index 545d75c..f13e7f6 100644 --- a/src/commands/moderation/unban.ts +++ b/src/commands/moderation/unban.ts @@ -58,7 +58,7 @@ export default class UnbanCommand extends BushCommand { if (!(user instanceof User)) { user = util.resolveUser(user, client.users.cache) as BushUser; } - const responseCode = await message.guild.unban({ + const responseCode = await message.guild!.unban({ user, moderator: message.author, reason |