forked from fabston/Telegram-Airdrop-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
30 lines (26 loc) · 1.44 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
# --------------------------------------------- #
# Plugin Name : TelegramAirdropBot #
# Author Name : fabston #
# File Name : config.py #
# --------------------------------------------- #
# Enable / disable the airdrop
airdrop_live = True
# Telegram
token = '<YOUR BOT TOKEN>' # More: https://core.telegram.org/bots#3-how-do-i-create-a-bot
log_channel = 0 # Channel ID. Example: -1001355597767
admins = [] # Telegram User ID's. Admins are able to execute command "/airdroplist"
airdrop_cap = 1000 # Max airdrop submissions that are being accepted
# MySQL Database
mysql_host = 'localhost'
mysql_db = 'TelegramAirdropBot'
mysql_user = 'abuser'
mysql_pw = '<YOUR PASSWORD>'
texts = {
'start_1': 'Hi {} and welcome to Popcateum 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\nThe POP transfer will take place after the end date of the airdrop.\n\n',
'airdrop_start': 'The airdrop didn\'t start yet.',
'airdrop_address': 'Type in your $POP address:',
'airdrop_max_cap': 'ℹ️ The airdrop reached its max cap.\n\nPlease look forward to the next airdrop!',
'airdrop_walletused': '⚠️ That address has already been used. Use a different one.',
'airdrop_confirmation': '✅ Your address has been added to airdrop list.\n\nThe POP transfer will take place after the end date of the airdrop.\n\n',
}