From 8bb57f756e641c54cd0f8c172456ebf4c8fed7d4 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 18 Jul 2021 21:03:52 -0400 Subject: a few fixes --- src/commands/config/disable.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/commands') 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?', -- cgit