aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/unlockdown.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-30 16:55:37 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-30 16:55:37 -0500
commit83db032fb91996c926a5d007a9e5fa4abed65871 (patch)
tree28081718636b6c41aea89018504f3f7e4f837903 /src/commands/moderation/unlockdown.ts
parentf0a9f894575871d498447c5de2b5f0f826b117b7 (diff)
downloadtanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.tar.gz
tanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.tar.bz2
tanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.zip
add timeout command and fix some other moderation commands
Diffstat (limited to 'src/commands/moderation/unlockdown.ts')
-rw-r--r--src/commands/moderation/unlockdown.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/commands/moderation/unlockdown.ts b/src/commands/moderation/unlockdown.ts
index 24af305..5bcea32 100644
--- a/src/commands/moderation/unlockdown.ts
+++ b/src/commands/moderation/unlockdown.ts
@@ -8,7 +8,7 @@ export default class UnlockdownCommand extends BushCommand {
category: 'moderation',
description: 'Allows you to unlockdown a channel or all configured channels.',
usage: ['unlockdown [channel] [reason] [--all]'],
- examples: ['unlockdown', 'unlockdown --all'],
+ examples: ['unlockdown', 'unlockdown raid is over --all'],
args: [
{
id: 'channel',
@@ -20,15 +20,6 @@ export default class UnlockdownCommand extends BushCommand {
optional: true
},
{
- id: 'all',
- description: 'Whether or not to unlock all configured channels.',
- match: 'flag',
- flag: '--all',
- prompt: 'Would you like to unlockdown all configured channels?',
- slashType: 'BOOLEAN',
- optional: true
- },
- {
id: 'reason',
description: 'The reason for the unlock.',
type: 'string',
@@ -36,6 +27,15 @@ export default class UnlockdownCommand extends BushCommand {
prompt: 'What is the reason for the unlock?',
slashType: 'STRING',
optional: true
+ },
+ {
+ id: 'all',
+ description: 'Whether or not to unlock all configured channels.',
+ match: 'flag',
+ flag: '--all',
+ prompt: 'Would you like to unlockdown all configured channels?',
+ slashType: 'BOOLEAN',
+ optional: true
}
],
slash: true,