aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 20:10:42 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 20:10:42 -0400
commite4206aaa9211e792660b4015551519d633409355 (patch)
treef79cc2dd3138492b944da599e7c1b6aa09fc1d1c /src/commands/utilities
parent5e88fbf7c78a5d81f2cb7f2265b16cbb7713d07c (diff)
downloadtanzanite-e4206aaa9211e792660b4015551519d633409355.tar.gz
tanzanite-e4206aaa9211e792660b4015551519d633409355.tar.bz2
tanzanite-e4206aaa9211e792660b4015551519d633409355.zip
random stuff
Diffstat (limited to 'src/commands/utilities')
-rw-r--r--src/commands/utilities/highlight-!.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/utilities/highlight-!.ts b/src/commands/utilities/highlight-!.ts
index b93f59a..f2ee259 100644
--- a/src/commands/utilities/highlight-!.ts
+++ b/src/commands/utilities/highlight-!.ts
@@ -186,10 +186,7 @@ export default class HighlightCommand extends BushCommand {
throw new Error('This command is not meant to be executed directly.');
}
- public override async execSlash(
- message: SlashMessage,
- args: { subcommand: keyof typeof highlightSubcommands; subcommandGroup?: string }
- ) {
+ public override async execSlash(message: SlashMessage, args: { subcommand: string; subcommandGroup?: string }) {
// manual `Flag.continue`
const subcommand = this.handler.modules.get(`highlight-${args.subcommandGroup ?? args.subcommand}`)!;
return subcommand.exec(message, args);