forked from Tooruchan/Telegram-CAPTCHA-bot-pyrogram
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.example.json
41 lines (41 loc) · 4.08 KB
/
config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"proxy_addr":"",
"proxy_port":"",
"msg_start_message": "喵?",
"msg_passed_answer": "#PASS\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件: 通过验证.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_passed_mercy": "#PASS_WRONG_ANSWER\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件: 回答错误,通过验证.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_passed_admin": "#PASS_MANUALLY\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件: 管理员人工通过验证.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_failed_answer": "#FAIL_WRONG_ANSWER\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件: 验证未能通过.\n原因: 回答错误\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_failed_timeout": "#FAIL_TLO\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n用户名: @{targetusername} \n用户 Firstname: `{targetfirstname}` \n用户 Lastname: `{targetlastname}` \n事件: 验证未能通过.\n原因: 超时.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_failed_admin": "#FAIL_MANUALLY\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件:验证未能通过 \n原因: 管理员人工拒绝.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_failed_auto_kick": "#AUTO_KICKED\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n用户名: @{targetusername} \n用户 Firstname: `{targetfirstname}` \n用户 Lastname: `{targetlastname}` \n事件: 验证未能通过.\n原因: 黑名单自动踢出.\n群组 ID: `{groupid}`\n群组标题: `{grouptitle}`\n上一次尝试加群在: {lastattempt}\n距离上一次尝试时间:{sincelastattempt}\n总尝试次数: {trycount}",
"msg_message_deleted": "#MESSAGE_DELETED\n[用户](tg://user?id={targetuserid}) ID: `{targetuserid}` \n事件: 消息已被删除.\n原因: 用户未完成验证\n消息 ID: `{messageid}\n`群组 ID: `{groupid}`\n群组标题: `{grouptitle}`",
"msg_into_group": "#ADDBOT\n已被加入群组 ID: `{groupid}`\n群组标题: `{grouptitle}` 中",
"msg_leave_group": "基于Term of Service, Bot 离开了群组: `{groupid}`",
"msg_leave_msg": "根据 Term of Service,本 Bot 无法对该群组提供服务,需要了解更多,请查看项目使用协议。",
"*": {
"msg_self_introduction": "Tooruchan's Captcha Bot\n Powered by [Tooruchan](https://github.com/Tooruchan)\n[Project Repo](https://github.com/Tooruchan/Telegram-CAPTCHA-Bot)\nFramework:\n[pyrogram async](https://github.com/pyrogram/pyrogram)",
"msg_challenge_not_for_you": "这次验证并不针对您",
"msg_challenge_math": "对于用户 [{target_id}](tg://user?id={target_id}) :\n您好,本群开启了验证功能,请在 {timeout} 秒内点击下面的按钮回答这个问题:\n{challenge}",
"msg_challenge_recaptcha": "对于用户 [{target_id}](tg://user?id={target_id}) :\n您好,本群开启了验证功能,请在 {timeout} 秒内点击下面的按钮前往机器人完成验证:",
"msg_challenge_passed": "您已通过验证,欢迎加入本群!\n如果仍然无法发言,请重启 Telegram 客户端。",
"msg_challenge_failed": "抱歉,您没有通过验证,如需解封请私聊本群群管。",
"msg_approve_manually": "人工通过\nPASS",
"msg_refuse_manually": "人工拒绝\nDENY",
"msg_permission_denied": "您的权限不足",
"msg_bot_no_permission": "操作失败,可能是群管并未赋予机器人管理员权限。",
"msg_approved": "您已被管理员 {user} 人工通过,欢迎加入本群!",
"msg_refused": "该用户已被管理员 {user} 移除出群。",
"challenge_timeout": 60,
"challenge_timeout_action": "kick",
"challenge_failed_action": "kick",
"challenge_type": "math",
"delete_passed_challenge": true,
"delete_passed_challenge_interval": 15,
"delete_failed_challenge": true,
"delete_failed_challenge_interval": 15,
"enable_third_party_blacklist": false,
"enable_global_blacklist": true,
"global_timeout_user_blacklist_remove": 600
}
}