aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/disable.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/disable.ts')
-rw-r--r--src/commands/config/disable.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/config/disable.ts b/src/commands/config/disable.ts
index ed9bf7d..00d2561 100644
--- a/src/commands/config/disable.ts
+++ b/src/commands/config/disable.ts
@@ -1,4 +1,5 @@
import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Global } from '@lib';
+import { Argument } from 'discord-akairo';
export default class DisableCommand extends BushCommand {
public constructor() {
@@ -13,7 +14,7 @@ export default class DisableCommand extends BushCommand {
args: [
{
id: 'command',
- type: 'commandAlias',
+ type: Argument.union('commandAlias', 'command'),
match: 'phrase',
prompt: {
start: 'What command would you like to enable/disable?',