-
Notifications
You must be signed in to change notification settings - Fork 102
/
config.py
34 lines (25 loc) · 1.11 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
from os import getenv
from data import THE_ALTS
#----------------------------------- REQUIRED CODES --------------------------------------#
API_ID = int(getenv("API_ID", "25981592"))
API_HASH = getenv("API_HASH", "709f3c9d34d83873d3c7e76cdd75b866")
SESSION1 = getenv("SESSION")
ALIVE_PIC = getenv("ALIVE_PIC", "https://te.legra.ph/file/07d39b85c6cea32f15259.jpg")
OWNER_ID = int(getenv("OWNER_ID", "5518687442"))
HEROKU_APP_NAME = getenv("HEROKU_APP_NAME")
HEROKU_API_KEY = getenv("HEROKU_API_KEY")
#-------------------------------- OPTIONAL -------------------------------------#
SESSION2 = getenv("SESSION2")
SESSION3 = getenv("SESSION3")
SESSION4 = getenv("SESSION4")
SESSION5 = getenv("SESSION5")
SESSION6 = getenv("SESSION6")
SESSION7 = getenv("SESSION7")
SESSION8 = getenv("SESSION8")
SESSION9 = getenv("SESSION9")
SESSION10 = getenv("SESSION10")
SUDO_USERS = list(map(lambda x: int(x), getenv("SUDO_USERS", "5518687442").split(" ")))
SUDO_USERS.append(OWNER_ID)
for x in THE_ALTS:
SUDO_USERS.append(x)
SESSIONS = [SESSION1, SESSION2, SESSION3, SESSION4, SESSION5, SESSION6, SESSION7, SESSION8, SESSION9, SESSION10]