diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-30 19:38:16 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-30 19:38:16 -0400 |
commit | 70fac30661ee06b07baceed6e44880b16e244626 (patch) | |
tree | 44b4c573043fc369ba9c79ef368da2f08f34e442 /src/commands/config/disable.ts | |
parent | f5c2b7b946487c2828365cc63bc6f471dd6cfc2f (diff) | |
download | tanzanite-70fac30661ee06b07baceed6e44880b16e244626.tar.gz tanzanite-70fac30661ee06b07baceed6e44880b16e244626.tar.bz2 tanzanite-70fac30661ee06b07baceed6e44880b16e244626.zip |
general clean up and fix automod
Diffstat (limited to 'src/commands/config/disable.ts')
-rw-r--r-- | src/commands/config/disable.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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.', |