-
Notifications
You must be signed in to change notification settings - Fork 320
/
config.py
50 lines (39 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
class Config(object):
LOGGER = True
# REQUIRED
# Login to https://my.telegram.org and fill in these slots with the details given by it
API_ID = "" # integer value, dont use ""
API_HASH = ""
TOKEN = "" # This var used to be API_KEY but it is now TOKEN, adjust accordingly.
OWNER_ID = 2145093972 # If you dont know, run the bot and do /id in your private chat with it, also an integer
SUPPORT_CHAT = "the_support_chat" # Your own group for support, do not add the @
START_IMG = ""
EVENT_LOGS = () # Prints information like gbans, sudo promotes, AI enabled disable states that may help in debugging and shit
MONGO_DB_URI= ""
# RECOMMENDED
DATABASE_URL = "" # A sql database url from elephantsql.com
CASH_API_KEY = (
"" # Get your API key from https://www.alphavantage.co/support/#api-key
)
TIME_API_KEY = ""
# Get your API key from https://timezonedb.com/api
# 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