aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev')
-rw-r--r--src/commands/dev/reload.ts2
-rw-r--r--src/commands/dev/setLevel.ts4
-rw-r--r--src/commands/dev/testDuration.ts2
3 files changed, 4 insertions, 4 deletions
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
}
],