aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/modlog.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/modlog.ts')
-rw-r--r--src/commands/moderation/modlog.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts
index 66368f9..71ed975 100644
--- a/src/commands/moderation/modlog.ts
+++ b/src/commands/moderation/modlog.ts
@@ -1,4 +1,4 @@
-import { BushCommand, ButtonPaginator, ModLog, type ArgType, type BushMessage, type BushSlashMessage } from '#lib';
+import { BushCommand, ButtonPaginator, ModLog, type ArgType, type CommandMessage, type SlashMessage } from '#lib';
import assert from 'assert';
import { ApplicationCommandOptionType, PermissionFlagsBits, User } from 'discord.js';
@@ -40,8 +40,8 @@ export default class ModlogCommand extends BushCommand {
}
public override async exec(
- message: BushMessage | BushSlashMessage,
- { search, hidden }: { search: ArgType<'user'> | string; hidden: boolean }
+ message: CommandMessage | SlashMessage,
+ { search, hidden }: { search: ArgType<'user'> | string; hidden: ArgType<'flag'> }
) {
assert(message.inGuild());