From 70fac30661ee06b07baceed6e44880b16e244626 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 30 Jul 2021 19:38:16 -0400 Subject: general clean up and fix automod --- src/commands/config/disable.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/commands/config/disable.ts') diff --git a/src/commands/config/disable.ts b/src/commands/config/disable.ts index 41ca8a4..5d2e4dd 100644 --- a/src/commands/config/disable.ts +++ b/src/commands/config/disable.ts @@ -1,5 +1,4 @@ import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Global } from '@lib'; -import { Argument } from 'discord-akairo'; export default class DisableCommand extends BushCommand { public constructor() { @@ -14,8 +13,7 @@ export default class DisableCommand extends BushCommand { args: [ { id: 'command', - type: Argument.union('commandAlias', 'command'), - match: 'phrase', + customType: util.arg.union('commandAlias', 'command'), prompt: { start: 'What command would you like to enable/disable?', retry: '{error} Pick a valid command.', -- cgit