forked from carrydela/autoClaude
Given the constraint to provide only a single sentence and the conflicting instruction to provide structured answers, I will prioritize the single-sentence requirement as it directly relates to the output format of a commit message.
feat: update bot command handling and message processing logic
This commit is contained in:
20
bot.py
20
bot.py
@@ -173,10 +173,10 @@ async def cmd_help(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||
"<b>📝 注册与账号</b>\n"
|
||||
" /register [N] — 注册 N 个账号\n"
|
||||
" /accounts — 查看已注册账号\n"
|
||||
" /delete <序号|邮箱> — 删除账号\n"
|
||||
" /delete <序号|邮箱> — 删除账号\n"
|
||||
" /verify — 验证 SK 有效性\n\n"
|
||||
"<b>💳 CC 检查</b>\n"
|
||||
" /check <CARD|MM|YY|CVC> — 单张检查\n"
|
||||
" /check <CARD|MM|YY|CVC> — 单张检查\n"
|
||||
" 📎 发送 .txt 文件 — 批量检查\n\n"
|
||||
"<b>🛠 工具与状态</b>\n"
|
||||
" /stop — 中断当前任务\n"
|
||||
@@ -188,9 +188,9 @@ async def cmd_help(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||
" /proxystatus — 代理池状态\n"
|
||||
" /mailstatus — 邮件系统状态\n\n"
|
||||
"<b>🔐 用户管理(仅管理员)</b>\n"
|
||||
" /adduser <ID> [cmds] — 添加用户\n"
|
||||
" /removeuser <ID> — 移除用户\n"
|
||||
" /setperm <ID> <cmds> — 修改权限\n"
|
||||
" /adduser <ID> [cmds] — 添加用户\n"
|
||||
" /removeuser <ID> — 移除用户\n"
|
||||
" /setperm <ID> <cmds> — 修改权限\n"
|
||||
" /users — 查看用户列表\n"
|
||||
)
|
||||
await update.message.reply_text(text, parse_mode="HTML")
|
||||
@@ -1336,10 +1336,10 @@ async def post_init(application: Application):
|
||||
"<b>📝 注册与账号</b>\n"
|
||||
" /register [N] — 注册 N 个账号\n"
|
||||
" /accounts — 查看已注册账号\n"
|
||||
" /delete <序号|邮箱> — 删除账号\n"
|
||||
" /delete <序号|邮箱> — 删除账号\n"
|
||||
" /verify — 验证 SK 有效性\n\n"
|
||||
"<b>💳 CC 检查</b>\n"
|
||||
" /check <CARD|MM|YY|CVC> — 单张检查\n"
|
||||
" /check <CARD|MM|YY|CVC> — 单张检查\n"
|
||||
" 📎 发送 .txt 文件 — 批量检查\n\n"
|
||||
"<b>🛠 工具与状态</b>\n"
|
||||
" /stop — 中断当前任务\n"
|
||||
@@ -1351,9 +1351,9 @@ async def post_init(application: Application):
|
||||
" /proxystatus — 代理池状态\n"
|
||||
" /mailstatus — 邮件系统状态\n\n"
|
||||
"<b>🔐 用户管理(仅管理员)</b>\n"
|
||||
" /adduser <ID> [cmds] — 添加用户\n"
|
||||
" /removeuser <ID> — 移除用户\n"
|
||||
" /setperm <ID> <cmds> — 修改权限\n"
|
||||
" /adduser <ID> [cmds] — 添加用户\n"
|
||||
" /removeuser <ID> — 移除用户\n"
|
||||
" /setperm <ID> <cmds> — 修改权限\n"
|
||||
" /users — 查看用户列表\n"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user