forked from mxssl/tg-captcha-bot
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.toml
54 lines (34 loc) · 1.65 KB
/
config.toml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
# Config file for Telegram Captcha Bot
cas_enable = "yes"
captcha = "Captcha: %s"
captcha_enable = "Greeting with captcha for new users activated.."
attack_mode = "Attack mode status: %s"
attack_mode_enable = "In attack mode, all new participants receive a 5-minute ban. The welcome message is not displayed. To deactivate, repeat the /attack command"
# Button text
button_text = "I'm not a robot!"
ban_button_text = "I'm robot!."
# Ban group. Groups in which the bot will not work.
excluded_group_ids = [-100000, -100000]
# Bot sends this message to new users
welcome_message = "Hello! This is the spam protection system. Please press the button within 30 seconds or you will be banned!"
# Edit welcome message with this text if user passed validation
after_success_message = "User passed the validation."
# Edit welcome message with this text if user failed validation
after_fail_message = "User didn't pass the validation and was banned."
# Show success and failure messages or delete them. Pick "show" or "del"
print_success_and_fail_messages_strategy = "del"
# During this time in seconds, the new user have to press the captha button
welcome_timeout = "30"
# If the new user does not press the button, the bot will ban the user for this duration of time. Can be "forever" or number of minutes ("10")
ban_duration = "10"
fake_ban_duration_min = "60"
# Do you want to use a socks5 proxy server? Can be "yes" or "no"
use_socks5_proxy = "no"
# Socks5 proxy server IP address
socks5_address = "1.1.1.1"
# Socks5 proxy server TCP port
socks5_port = "1080"
# Socks5 proxy server username
socks5_login = "login"
# Socks5 proxy server password
socks5_password = "password"