aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/timeout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/timeout.ts')
-rw-r--r--src/commands/moderation/timeout.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/moderation/timeout.ts b/src/commands/moderation/timeout.ts
index b8fb78f..ed3562d 100644
--- a/src/commands/moderation/timeout.ts
+++ b/src/commands/moderation/timeout.ts
@@ -4,8 +4,8 @@ import {
Moderation,
timeoutResponse,
type ArgType,
- type BushMessage,
- type BushSlashMessage
+ type CommandMessage,
+ type SlashMessage
} from '#lib';
import assert from 'assert';
import { ApplicationCommandOptionType, PermissionFlagsBits } from 'discord.js';
@@ -55,8 +55,8 @@ export default class TimeoutCommand extends BushCommand {
}
public override async exec(
- message: BushMessage | BushSlashMessage,
- args: { user: ArgType<'user'>; reason_and_duration: ArgType<'contentWithDuration'> | string; force?: ArgType<'boolean'> }
+ message: CommandMessage | SlashMessage,
+ args: { user: ArgType<'user'>; reason_and_duration: ArgType<'contentWithDuration'> | string; force?: ArgType<'flag'> }
) {
assert(message.inGuild());
assert(message.member);