diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 21:03:52 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 21:03:52 -0400 |
commit | 8bb57f756e641c54cd0f8c172456ebf4c8fed7d4 (patch) | |
tree | acad9652b7e913ebe339bfbb4893a76af56c5517 /src/commands/config | |
parent | a6ac0dd9f89e51513c0be5810f41a27447816d6e (diff) | |
download | tanzanite-8bb57f756e641c54cd0f8c172456ebf4c8fed7d4.tar.gz tanzanite-8bb57f756e641c54cd0f8c172456ebf4c8fed7d4.tar.bz2 tanzanite-8bb57f756e641c54cd0f8c172456ebf4c8fed7d4.zip |
a few fixes
Diffstat (limited to 'src/commands/config')
-rw-r--r-- | src/commands/config/disable.ts | 3 |
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?', |