aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/unban.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/unban.ts')
-rw-r--r--src/commands/moderation/unban.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts
index f13e7f6..3436da6 100644
--- a/src/commands/moderation/unban.ts
+++ b/src/commands/moderation/unban.ts
@@ -58,6 +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({
user,
moderator: message.author,