-
-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathconfig.toml
More file actions
48 lines (34 loc) · 1.69 KB
/
config.toml
File metadata and controls
48 lines (34 loc) · 1.69 KB
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
# Config file for Telegram Captcha Bot
# Button text
button_text = "I'm not a robot!"
# 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."
# What to do with challenge message when user passes verification. Pick "show" or "del"
# "show" - edit message with after_success_message text
# "del" - delete the challenge message
success_message_strategy = "show"
# What to do with challenge message when user fails verification. Pick "show" or "del"
# "show" - edit message with after_fail_message text
# "del" - delete the challenge message
fail_message_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 = "forever"
# Delete the "user joined the group" system message when verification fails. Can be "yes" or "no"
# This helps prevent spam advertising via usernames in join messages
delete_join_message_on_fail = "yes"
# 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"