diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/moderation/modlog.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index c7bdeb0..a04be32 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -56,7 +56,7 @@ export default class ModlogCommand extends BushCommand { public override async exec( message: CommandMessage | SlashMessage, - { search, hidden }: { search: ArgType<'user'> | string; hidden: ArgType<'flag'> } + { search, hidden = false }: { search: ArgType<'user'> | string; hidden: ArgType<'flag'> } ) { assert(message.inGuild()); |