Update pkg/channels/telegram.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
63a599732c
commit
58c1bac493
1 changed files with 2 additions and 2 deletions
|
|
@ -157,8 +157,8 @@ func (c *TelegramChannel) registerCommands(ctx context.Context) error {
|
||||||
commands := []telego.BotCommand{
|
commands := []telego.BotCommand{
|
||||||
{Command: "start", Description: "Start the bot"},
|
{Command: "start", Description: "Start the bot"},
|
||||||
{Command: "help", Description: "Show this help message"},
|
{Command: "help", Description: "Show this help message"},
|
||||||
{Command: "show", Description: "Show current configuration"},
|
{Command: "show", Description: "Show current configuration (model or channel)"},
|
||||||
{Command: "list", Description: "List available options"},
|
{Command: "list", Description: "List available options (models or channels)"},
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.bot.SetMyCommands(ctx, &telego.SetMyCommandsParams{
|
return c.bot.SetMyCommands(ctx, &telego.SetMyCommandsParams{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue