diff options
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.`); +// } +// } |
