feat: Implement Telegram bot with Claude authentication, mail service, and identity spoofing, refactoring core logic into new modules. #1

Open
mygo-kyx wants to merge 13 commits from mygo-kyx/autoClaude-TGbot:main into Feature-FromFork-Kunkun
Showing only changes of commit b73c93db4a - Show all commits

20
bot.py
View File

@@ -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 &lt;序号|邮箱&gt; — 删除账号\n"
" /verify — 验证 SK 有效性\n\n"
"<b>💳 CC 检查</b>\n"
" /check <CARD|MM|YY|CVC> — 单张检查\n"
" /check &lt;CARD|MM|YY|CVC&gt; — 单张检查\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 &lt;ID&gt; [cmds] — 添加用户\n"
" /removeuser &lt;ID&gt; — 移除用户\n"
" /setperm &lt;ID&gt; &lt;cmds&gt; — 修改权限\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 &lt;序号|邮箱&gt; — 删除账号\n"
" /verify — 验证 SK 有效性\n\n"
"<b>💳 CC 检查</b>\n"
" /check <CARD|MM|YY|CVC> — 单张检查\n"
" /check &lt;CARD|MM|YY|CVC&gt; — 单张检查\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 &lt;ID&gt; [cmds] — 添加用户\n"
" /removeuser &lt;ID&gt; — 移除用户\n"
" /setperm &lt;ID&gt; &lt;cmds&gt; — 修改权限\n"
" /users — 查看用户列表\n"
)