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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts
index 3436da6..5025ede 100644
--- a/src/commands/moderation/unban.ts
+++ b/src/commands/moderation/unban.ts
@@ -59,7 +59,7 @@ export default class UnbanCommand extends BushCommand {
user = util.resolveUser(user, client.users.cache) as BushUser;
}
- const responseCode = await message.guild!.unban({
+ const responseCode = await message.guild!.bushUnban({
user,
moderator: message.author,
reason