fix: make /help more readable
This commit is contained in:
parent
a0a053a740
commit
b922f2feec
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ export async function handleSlashCommands(
|
|||
case "help":
|
||||
const allCommands = getAllSlashCommands(assistant);
|
||||
const helpMessage = [
|
||||
"Available commands:",
|
||||
...allCommands.map((cmd) => `/${cmd.name} - ${cmd.description}`),
|
||||
chalk.cyan("Slash commands:"),
|
||||
...allCommands.map((cmd) => `- ${chalk.white(`/${cmd.name}:`)} ${chalk.gray(cmd.description)}`),
|
||||
].join("\n");
|
||||
posthogService.capture("useSlashCommand", {
|
||||
name: "help",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue