forked from ITZ-ZAID/Telethon-Music
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.py
17 lines (16 loc) · 1.02 KB
/
Config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
class Config(object):
API_ID = int(os.environ.get("APP_ID", "6435225"))
API_HASH = os.environ.get("API_HASH", "4e984ea35f854762dcde906dce426c2d")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
STRING_SESSION = os.environ.get("STRING_SESSION", "")
MANAGEMENT_MODE = os.environ.get("MANAGEMENT_MODE", True)
HEROKU_MODE = os.environ.get("HEROKU_MODE", None)
BOT_USERNAME = os.environ.get("BOT_USERNAME", "")
SUPPORT = os.environ.get("SUPPORT", "TheSupportChat") # Your Support
CHANNEL = os.environ.get("CHANNEL", "TheUpdatesChannel") # Your Channel
START_IMG = os.environ.get("START_IMG", "https://telegra.ph/file/3d8ecee0ba7dddfc6fce4.jpg")
CMD_IMG = os.environ.get("CMD_IMG", "https://telegra.ph/file/66518ed54301654f0b126.png")
ASSISTANT_ID = int(os.environ.get("ASSISTANT_ID", "")) # telegram I'd not Username
AUTO_LEAVE_TIME = int(os.environ.get("AUTO_LEAVE_ASSISTANT_TIME", "54000")) # in seconds
AUTO_LEAVE = os.environ.get('AUTO_LEAVING_ASSISTANT', None) # Change it to "True"