diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-07 22:15:18 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-07 22:15:18 -0400 |
| commit | 06f85e0fbabd031240559470be59ceb2be420fab (patch) | |
| tree | 3bcdab99dbbd2c124133e6474938a5be379c7e7f /src/commands/config | |
| parent | 931dde0b1530573170a60c8046a6f12519db08e9 (diff) | |
| download | tanzanite-06f85e0fbabd031240559470be59ceb2be420fab.tar.gz tanzanite-06f85e0fbabd031240559470be59ceb2be420fab.tar.bz2 tanzanite-06f85e0fbabd031240559470be59ceb2be420fab.zip | |
few fixes
Diffstat (limited to 'src/commands/config')
| -rw-r--r-- | src/commands/config/blacklist.ts | 1 | ||||
| -rw-r--r-- | src/commands/config/settings.ts | 59 |
2 files changed, 59 insertions, 1 deletions
diff --git a/src/commands/config/blacklist.ts b/src/commands/config/blacklist.ts index 78b0446..864081c 100644 --- a/src/commands/config/blacklist.ts +++ b/src/commands/config/blacklist.ts @@ -16,7 +16,6 @@ export default class BlacklistCommand extends BushCommand { { id: 'target', customType: Argument.union('channel', 'user'), - prompt: { start: 'What channel or user that you would like to blacklist/unblacklist?', retry: '{error} Pick a valid command.', diff --git a/src/commands/config/settings.ts b/src/commands/config/settings.ts new file mode 100644 index 0000000..f474804 --- /dev/null +++ b/src/commands/config/settings.ts @@ -0,0 +1,59 @@ +// import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; + +// export default class SettingsCommand extends BushCommand { +// public constructor() { +// super('settings', { +// aliases: ['settings'], +// category: 'config', +// description: { +// content: 'Configure options for ', +// usage: 'template <requiredArg> [optionalArg]', +// examples: ['template 1 2'] +// }, +// args: [ +// { +// id: 'required_argument', +// type: 'string', +// prompt: { +// start: 'What would you like to set your first argument to be?', +// retry: '{error} Pick a valid argument.', +// optional: false +// } +// }, +// { +// id: 'optional_argument', +// type: 'string', +// prompt: { +// start: 'What would you like to set your second argument to be?', +// retry: '{error} Pick a valid argument.', +// optional: true +// } +// } +// ], +// slash: false, //set this to true +// slashOptions: [ +// { +// name: 'required_argument', +// description: 'What would you like to set your first argument to be?', +// type: 'STRING', +// required: true +// }, +// { +// name: 'optional_argument', +// description: 'What would you like to set your second argument to be?', +// type: 'STRING', +// required: false +// } +// ], +// superUserOnly: true, +// ownerOnly: true, +// channel: 'guild', +// hidden: true, +// clientPermissions: ['SEND_MESSAGES'], +// userPermissions: ['SEND_MESSAGES'] +// }); +// } +// public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> { +// return await message.util.reply(`${util.emojis.error} Do not use the template command.`); +// } +// } |
