aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-matches.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-19 17:08:00 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-19 17:08:00 -0400
commite17419dcb00b228afdc0ffca5b987e1e2da70065 (patch)
tree4f014c5a4454478b483015058c142a0d359107a9 /src/commands/utilities/highlight-matches.ts
parent8ef314c63ad5c3fa160b5ad876ef7ec315c7aa9e (diff)
downloadtanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.tar.gz
tanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.tar.bz2
tanzanite-e17419dcb00b228afdc0ffca5b987e1e2da70065.zip
actually fix highlight (un)block
Diffstat (limited to 'src/commands/utilities/highlight-matches.ts')
-rw-r--r--src/commands/utilities/highlight-matches.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/utilities/highlight-matches.ts b/src/commands/utilities/highlight-matches.ts
index 7bf94fd..8964af8 100644
--- a/src/commands/utilities/highlight-matches.ts
+++ b/src/commands/utilities/highlight-matches.ts
@@ -2,14 +2,14 @@ import { BushCommand, ButtonPaginator, chunk, colors, emojis, type ArgType, type
import assert from 'assert';
import { type ArgumentGeneratorReturn } from 'discord-akairo';
import { type APIEmbed } from 'discord.js';
-import { highlightCommandArgs, highlightSubcommands } from './highlight-!.js';
+import { highlightSubcommands } from './highlight-!.js';
export default class HighlightMatchesCommand extends BushCommand {
public constructor() {
super('highlight-matches', {
aliases: [],
category: 'utilities',
- description: highlightSubcommands.matches,
+ description: highlightSubcommands.matches.description,
usage: [],
examples: [],
clientPermissions: [],
@@ -22,9 +22,9 @@ export default class HighlightMatchesCommand extends BushCommand {
type: 'string',
match: 'rest',
prompt: {
- start: highlightCommandArgs.matches[0].description,
- retry: highlightCommandArgs.matches[0].retry,
- optional: !highlightCommandArgs.matches[0].required
+ start: highlightSubcommands.matches.options[0].description,
+ retry: highlightSubcommands.matches.options[0].retry,
+ optional: !highlightSubcommands.matches.options[0].required
}
};