forked from fabston/Telegram-Airdrop-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
38 lines (32 loc) · 1.49 KB
/
config.py
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
# --------------------------------------------- #
# Plugin Name : TelegramAirdropBot #
# Author Name : fabston #
# File Name : config.py #
# --------------------------------------------- #
# Enable / disable the airdrop
airdrop_live = True
# Telegram
api_token = (
"<YOUR BOT TOKEN>" # More: https://core.telegram.org/bots#3-how-do-i-create-a-bot
)
host = "" # ip/host where the bot is running
log_channel = 0 # Channel ID. Example: -1001355597767
admins = [] # Telegram User ID's. Admins are able to execute command "/airdroplist"
airdrop_cap = 100 # Max airdrop submissions that are being accepted
wallet_changes = 3 # How often a user is allowed to change their wallet address
# MySQL Database
mysql_host = "localhost"
mysql_db = "TelegramAirdropBot"
mysql_user = "AirdropUser"
mysql_pw = "<YOUR PASSWORD>"
texts = {
"start_1": "Hi {} and welcome to our Airdrop!\n\nGet started by clicking the button below.\n\n",
"start_2": "Hi {},\n\nYour address has been added to the airdrop list!\n\n",
"start_captcha": "Hi {},\n\n",
"airdrop_start": "The airdrop didn't start yet.",
"airdrop_address": "Type in your address:",
"airdrop_max_cap": "ℹ️ The airdrop reached its max cap.",
"airdrop_walletused": "⚠️ That address has already been used. Use a different one.",
"airdrop_confirmation": "✅ Your address has been added to airdrop list.",
"airdrop_wallet_update": "✅ Your address has been updated.",
}