mirror of
https://github.com/woodchen-ink/Q58Bot.git
synced 2025-07-18 13:52:07 +08:00
修复删除 "查看提示词列表" 命令的错误
This commit is contained in:
parent
cb7fc3254d
commit
5d6554a3c7
@ -18,7 +18,6 @@ func RegisterCommands(bot *tgbotapi.BotAPI) error {
|
|||||||
{Command: "delwhite", Description: "从白名单移除域名"},
|
{Command: "delwhite", Description: "从白名单移除域名"},
|
||||||
{Command: "listwhite", Description: "列出白名单域名"},
|
{Command: "listwhite", Description: "列出白名单域名"},
|
||||||
{Command: "prompt", Description: "设置提示词回复"},
|
{Command: "prompt", Description: "设置提示词回复"},
|
||||||
{Command: "prompt list", Description: "查看提示词列表"},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config := tgbotapi.NewSetMyCommands(commands...)
|
config := tgbotapi.NewSetMyCommands(commands...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user