-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.py
51 lines (35 loc) · 1.5 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
39
40
41
42
43
44
45
46
47
48
49
50
51
class Config(object):
LOGGER = True
# Get this value from my.telegram.org/apps
API_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
CASH_API_KEY = "" # Get this value for currency converter from https://www.alphavantage.co/support/#api-key
DATABASE_URL = "" # A sql database url from elephantsql.com
EVENT_LOGS = () # Event logs channel to note down important bot level events
MONGO_DB_URI = "" # Get ths value from cloud.mongodb.com
# Telegraph link of the image which will be shown at start command.
START_IMG = "https://graph.org/file/6ed3863209d0be9c968de.jpg"
SUPPORT_CHAT = "agoraworld" # Your Telegram support group chat username where your users will go and bother you
TOKEN = "" # Get bot token from @BotFather on Telegram
TIME_API_KEY = "" # Get this value from https://timezonedb.com/api
OWNER_ID = 6181817811 # User id of your telegram account (Must be integer)
# Optional fields
BL_CHATS = [] # List of groups that you want blacklisted.
DRAGONS = [] # User id of sudo users
DEV_USERS = [] # User id of dev users
DEMONS = [] # User id of support users
TIGERS = [] # User id of tiger users
WOLVES = [] # User id of whitelist users
ALLOW_CHATS = True
ALLOW_EXCL = True
DEL_CMDS = True
INFOPIC = True
LOAD = []
NO_LOAD = []
STRICT_GBAN = True
TEMP_DOWNLOAD_DIRECTORY = "./"
WORKERS = 8
class Production(Config):
LOGGER = True
class Development(Config):
LOGGER = True