forked from mxssl/tg-captcha-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
22 lines (15 loc) · 902 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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."
# Show success and failure messages or delete them. Pick "show" or "del"
print_success_and_fail_messages_strategy = "show"
# 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"