From cdb8b0297f806cb3147b3759b0fd234bffbcc3f9 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 13 Jul 2021 15:04:42 -0400 Subject: added unmute and unban command --- src/commands/dev/reload.ts | 2 +- src/commands/dev/setLevel.ts | 4 ++-- src/commands/dev/testDuration.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands/dev') diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts index c6a2140..928632c 100644 --- a/src/commands/dev/reload.ts +++ b/src/commands/dev/reload.ts @@ -21,9 +21,9 @@ export default class ReloadCommand extends BushCommand { typing: true, slashOptions: [ { - type: 'BOOLEAN', name: 'fast', description: 'Whether to use esbuild for fast compiling or not', + type: 'BOOLEAN', required: false } ], diff --git a/src/commands/dev/setLevel.ts b/src/commands/dev/setLevel.ts index 9c7daeb..db0cfab 100644 --- a/src/commands/dev/setLevel.ts +++ b/src/commands/dev/setLevel.ts @@ -32,15 +32,15 @@ export default class SetLevelCommand extends BushCommand { ownerOnly: true, slashOptions: [ { - type: 'USER', name: 'user', description: 'The user to change the level of', + type: 'USER', required: true }, { - type: 'INTEGER', name: 'level', description: 'The level to set the user to', + type: 'INTEGER', required: true } ], diff --git a/src/commands/dev/testDuration.ts b/src/commands/dev/testDuration.ts index 719292e..2d636d2 100644 --- a/src/commands/dev/testDuration.ts +++ b/src/commands/dev/testDuration.ts @@ -27,9 +27,9 @@ export default class TestDurationCommand extends BushCommand { slash: true, slashOptions: [ { - type: 'STRING', name: 'reason', description: 'Enter text and a duration here.', + type: 'STRING', required: false } ], -- cgit