diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-19 17:08:00 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-19 17:08:00 -0400 |
commit | e17419dcb00b228afdc0ffca5b987e1e2da70065 (patch) | |
tree | 4f014c5a4454478b483015058c142a0d359107a9 /src/commands/utilities/highlight-add.ts | |
parent | 8ef314c63ad5c3fa160b5ad876ef7ec315c7aa9e (diff) | |
download | tanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.tar.gz tanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.tar.bz2 tanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.zip |
actually fix highlight (un)block
Diffstat (limited to 'src/commands/utilities/highlight-add.ts')
-rw-r--r-- | src/commands/utilities/highlight-add.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/commands/utilities/highlight-add.ts b/src/commands/utilities/highlight-add.ts index 3547c90..facee2c 100644 --- a/src/commands/utilities/highlight-add.ts +++ b/src/commands/utilities/highlight-add.ts @@ -1,34 +1,34 @@ import { AllowedMentions, BushCommand, emojis, format, type ArgType, type CommandMessage, type SlashMessage } from '#lib'; import assert from 'assert'; -import { highlightCommandArgs, highlightSubcommands } from './highlight-!.js'; +import { highlightSubcommands } from './highlight-!.js'; export default class HighlightAddCommand extends BushCommand { public constructor() { super('highlight-add', { aliases: [], category: 'utilities', - description: highlightSubcommands.add, + description: highlightSubcommands.add.description, args: [ { id: 'word', - description: highlightCommandArgs.add[0].description, + description: highlightSubcommands.add.options[0].description, type: 'string', match: 'rest', - prompt: highlightCommandArgs.add[0].description, - retry: highlightCommandArgs.add[0].retry, - optional: !highlightCommandArgs.add[0].required, + prompt: highlightSubcommands.add.options[0].description, + retry: highlightSubcommands.add.options[0].retry, + optional: !highlightSubcommands.add.options[0].required, only: 'text', slashType: false } - // { - // id: 'regex', - // description: highlightCommandArgs.add[1].description, - // match: 'flag', - // flag: '--regex', - // prompt: highlightCommandArgs.add[1].description, - // only: 'text', - // slashType: false - // } + /* { + id: 'regex', + description: highlightSubcommands.add.options[1].description, + match: 'flag', + flag: '--regex', + prompt: highlightSubcommands.add.options[1].description, + only: 'text', + slashType: false + } */ ], usage: [], examples: [], |