aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/unban.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-21 16:08:57 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-21 16:08:57 -0500
commit39a9ac09f5b4b1c7c6ef4686ff98f402a16dff52 (patch)
tree38c15fb01ccf1109dd63a3a570e78bc6eeff3700 /src/commands/moderation/unban.ts
parent5116ccf230c933c290676d033a5639b3913ee03b (diff)
downloadtanzanite-39a9ac09f5b4b1c7c6ef4686ff98f402a16dff52.tar.gz
tanzanite-39a9ac09f5b4b1c7c6ef4686ff98f402a16dff52.tar.bz2
tanzanite-39a9ac09f5b4b1c7c6ef4686ff98f402a16dff52.zip
fix: unban command
Diffstat (limited to 'src/commands/moderation/unban.ts')
-rw-r--r--src/commands/moderation/unban.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts
index a6afc0a..9973d61 100644
--- a/src/commands/moderation/unban.ts
+++ b/src/commands/moderation/unban.ts
@@ -22,7 +22,7 @@ export default class UnbanCommand extends BushCommand {
{
id: 'user',
description: 'The user to unban.',
- type: util.arg.compose('user', 'globalUser'),
+ type: util.arg.union('user', 'globalUser'),
prompt: 'What user would you like to unban?',
retry: '{error} Choose a valid user to unban.',
slashType: ApplicationCommandOptionType.User