aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/untimeout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/untimeout.ts')
-rw-r--r--src/commands/moderation/untimeout.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/untimeout.ts b/src/commands/moderation/untimeout.ts
index 6ca28f4..8bc977b 100644
--- a/src/commands/moderation/untimeout.ts
+++ b/src/commands/moderation/untimeout.ts
@@ -1,6 +1,6 @@
import {
AllowedMentions,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
format,
@@ -15,7 +15,7 @@ import {
import assert from 'assert/strict';
import { ApplicationCommandOptionType, PermissionFlagsBits, type GuildMember } from 'discord.js';
-export default class UntimeoutCommand extends BushCommand {
+export default class UntimeoutCommand extends BotCommand {
public constructor() {
super('untimeout', {
aliases: ['untimeout', 'remove-timeout'],
@@ -80,7 +80,7 @@ export default class UntimeoutCommand extends BushCommand {
return message.util.reply(canModerateResponse);
}
- const responseCode = await member.bushRemoveTimeout({
+ const responseCode = await member.customRemoveTimeout({
reason: args.reason ?? undefined,
moderator: message.member
});