注册prompt命令

This commit is contained in:
wood chen 2024-09-18 15:53:01 +08:00
parent d2504639da
commit a12a9b789b

View File

@ -16,6 +16,7 @@ func RegisterCommands(bot *tgbotapi.BotAPI) error {
{Command: "addwhite", Description: "添加域名到白名单"},
{Command: "delwhite", Description: "从白名单移除域名"},
{Command: "listwhite", Description: "列出白名单域名"},
{Command: "prompt", Description: "设置提示词回复"},
}
config := tgbotapi.NewSetMyCommands(commands...)