aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/modlog.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:17:23 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:17:23 -0400
commit2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8 (patch)
tree336737411294b0ed745542b969d7db0a5b968e99 /src/commands/moderation/modlog.ts
parentcb750202d5e8bd323c2d9628930506b4c870b845 (diff)
downloadtanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.tar.gz
tanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.tar.bz2
tanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.zip
testing something
Diffstat (limited to 'src/commands/moderation/modlog.ts')
-rw-r--r--src/commands/moderation/modlog.ts2
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());