aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/unblock.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/unblock.ts')
-rw-r--r--src/commands/moderation/unblock.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/unblock.ts b/src/commands/moderation/unblock.ts
index 6533da0..e342f0f 100644
--- a/src/commands/moderation/unblock.ts
+++ b/src/commands/moderation/unblock.ts
@@ -1,6 +1,6 @@
import {
AllowedMentions,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
format,
@@ -16,7 +16,7 @@ import {
import assert from 'assert/strict';
import { ApplicationCommandOptionType, PermissionFlagsBits, type GuildMember } from 'discord.js';
-export default class UnblockCommand extends BushCommand {
+export default class UnblockCommand extends BotCommand {
public constructor() {
super('unblock', {
aliases: ['unblock'],
@@ -83,7 +83,7 @@ export default class UnblockCommand extends BushCommand {
return message.util.reply(canModerateResponse);
}
- const responseCode = await member.bushUnblock({
+ const responseCode = await member.customUnblock({
reason: args.reason ?? '',
moderator: message.member,
channel: message.channel