fix
This commit is contained in:
@@ -177,21 +177,25 @@ class ProvisionerBot:
|
|||||||
BotCommand("status", "查看任务处理状态"),
|
BotCommand("status", "查看任务处理状态"),
|
||||||
BotCommand("team", "查看指定 Team 详情"),
|
BotCommand("team", "查看指定 Team 详情"),
|
||||||
BotCommand("config", "查看系统配置"),
|
BotCommand("config", "查看系统配置"),
|
||||||
|
BotCommand("logs", "查看最近日志"),
|
||||||
|
BotCommand("logs_live", "启用实时日志推送"),
|
||||||
|
BotCommand("logs_stop", "停止实时日志推送"),
|
||||||
BotCommand("run", "处理指定 Team"),
|
BotCommand("run", "处理指定 Team"),
|
||||||
BotCommand("run_all", "处理所有 Team"),
|
BotCommand("run_all", "处理所有 Team"),
|
||||||
BotCommand("resume", "继续处理未完成账号"),
|
BotCommand("resume", "继续处理未完成账号"),
|
||||||
BotCommand("stop", "停止当前任务"),
|
BotCommand("stop", "停止当前任务"),
|
||||||
BotCommand("logs", "查看最近日志"),
|
BotCommand("fingerprint", "开启/关闭随机指纹"),
|
||||||
|
BotCommand("include_owners", "开启/关闭 Owner 入库"),
|
||||||
|
BotCommand("reload", "重载配置文件"),
|
||||||
|
BotCommand("clean", "清理数据文件"),
|
||||||
BotCommand("dashboard", "查看 S2A 仪表盘"),
|
BotCommand("dashboard", "查看 S2A 仪表盘"),
|
||||||
BotCommand("stock", "查看账号库存"),
|
BotCommand("stock", "查看账号库存"),
|
||||||
|
BotCommand("s2a_config", "配置 S2A 参数"),
|
||||||
BotCommand("import", "导入账号到 team.json"),
|
BotCommand("import", "导入账号到 team.json"),
|
||||||
BotCommand("gptmail_keys", "查看 GPTMail API Keys"),
|
BotCommand("gptmail_keys", "查看 GPTMail API Keys"),
|
||||||
BotCommand("gptmail_add", "添加 GPTMail API Key"),
|
BotCommand("gptmail_add", "添加 GPTMail API Key"),
|
||||||
BotCommand("gptmail_del", "删除 GPTMail API Key"),
|
BotCommand("gptmail_del", "删除 GPTMail API Key"),
|
||||||
BotCommand("test_email", "测试邮箱创建功能"),
|
BotCommand("test_email", "测试邮箱创建"),
|
||||||
BotCommand("include_owners", "切换 Owner 入库开关"),
|
|
||||||
BotCommand("reload", "重载配置文件"),
|
|
||||||
BotCommand("s2a_config", "配置 S2A 服务参数"),
|
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
await self.app.bot.set_my_commands(commands)
|
await self.app.bot.set_my_commands(commands)
|
||||||
|
|||||||
Reference in New Issue
Block a user