mirror of
https://github.com/woodchen-ink/Q58Bot.git
synced 2025-07-18 05:42:06 +08:00
注册prompt命令
This commit is contained in:
parent
d2504639da
commit
a12a9b789b
@ -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...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user