aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/slowmode.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 22:27:57 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 22:27:57 -0400
commitdca5041fab25eb7c81cabd6ddbd418b311c65fcc (patch)
treea3adf9b13d5ca13dcd44112ef18abd0e7315d4d1 /src/commands/moderation/slowmode.ts
parent04dc104726fa1519480ba1889c1307ec3ad9be19 (diff)
downloadtanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.tar.gz
tanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.tar.bz2
tanzanite-dca5041fab25eb7c81cabd6ddbd418b311c65fcc.zip
fix slowmode
Diffstat (limited to 'src/commands/moderation/slowmode.ts')
-rw-r--r--src/commands/moderation/slowmode.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/moderation/slowmode.ts b/src/commands/moderation/slowmode.ts
index 4b3a976..94e40ca 100644
--- a/src/commands/moderation/slowmode.ts
+++ b/src/commands/moderation/slowmode.ts
@@ -15,8 +15,7 @@ export default class SlowModeCommand extends BushCommand {
args: [
{
id: 'length',
- customType: Argument.union('duration', 'off', 'none', 'disable'),
- default: 0,
+ customType: Argument.union('duration', 'durationSeconds', 'off', 'none', 'disable'),
prompt: {
start: 'What would you like to set the slowmode to?',
retry: '{error} Please set the slowmode to a valid length.',