From 1e90863cf79eb9674248ff3b8abb19d5c3936993 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 14 Mar 2022 01:04:20 -0400 Subject: chore(hl): add usages and examples --- src/commands/utilities/highlight-!.ts | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'src/commands') diff --git a/src/commands/utilities/highlight-!.ts b/src/commands/utilities/highlight-!.ts index 0531cfd..2ec1a29 100644 --- a/src/commands/utilities/highlight-!.ts +++ b/src/commands/utilities/highlight-!.ts @@ -81,9 +81,25 @@ export default class HighlightCommand extends BushCommand { super('highlight', { aliases: ['highlight', 'hl'], category: 'utilities', - description: 'Command description.', - usage: ['template [optionalArg]'], - examples: ['template 1 2'], + description: 'Highlight a word or phrase and have Tanzanite dm you when someone mentions it.', + usage: [ + 'highlight add ', + 'highlight remove ', + 'highlight block ', + 'highlight unblock ', + 'highlight show', + 'highlight clear', + 'highlight matches ' + ], + examples: [ + 'highlight add spaghetti', + 'highlight remove meatballs', + 'highlight block @tyman', + 'highlight unblock #bot-commands', + 'highlight show', + 'highlight clear', + 'highlight matches I really like to eat bacon with my spaghetti' + ], slashOptions: Object.entries(highlightSubcommands).map((args) => { // typescript being annoying const [subcommand, description] = args as [keyof typeof highlightSubcommands, typeof args[1]]; -- cgit