forked from AnonymousX1025/FallenMusic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
27 lines (15 loc) · 752 Bytes
/
config.py
File metadata and controls
27 lines (15 loc) · 752 Bytes
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
from os import getenv
from dotenv import load_dotenv
load_dotenv()
API_ID = int(getenv("API_ID"))
API_HASH = getenv("API_HASH")
BOT_TOKEN = getenv("BOT_TOKEN", None)
DURATION_LIMIT = int(getenv("DURATION_LIMIT", "999"))
OWNER_ID = int(getenv("OWNER_ID"))
PING_IMG = getenv("PING_IMG", "https://telegra.ph/file/0e7680e6855d83f1f36bd.jpg")
START_IMG = getenv("START_IMG", "https://telegra.ph/file/0e7680e6855d83f1f36bd.jpg")
SESSION = getenv("SESSION", None)
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "https://t.me/CrazYFaMiLy_1")
SUPPORT_CHANNEL = getenv("SUPPORT_CHANNEL", "https://t.me/crazynetworksupportxD")
SUDO_USERS = list(map(int, getenv("SUDO_USERS", "1356469075").split()))
FAILED = "https://telegra.ph/file/0e7680e6855d83f1f36bd.jpg"