This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
forked from thepriyamkalra/TGSuite-v1
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproduction.py
36 lines (34 loc) · 1.59 KB
/
production.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
import os
class Config(object):
LOGGER = True
MAX_MESSAGE_SIZE_LIMIT = 4095 # TG API Limit
LOAD = []
NO_LOAD = []
HELPER = {}
DB_URI = os.environ.get("DATABASE_URL", None)
APP_ID = int(os.environ.get("APP_ID", 1))
API_HASH = str(os.environ.get("API_HASH", "None"))
SESSION = os.environ.get("SESSION", None)
LOGGER_GROUP = int(os.environ.get(
"LOGGER_GROUP", 0))
DOWNLOAD_DIRECTORY = os.environ.get(
"DOWNLOAD_DIRECTORY", "./DOWNLOADS/")
ANTI_PM_SPAM = bool(os.environ.get("ANTI_PM_SPAM", False))
MAX_PM_FLOOD = int(os.environ.get("MAX_PM_FLOOD", 5))
COMMAND_HANDLER = os.environ.get("COMMAND_HANDLER", "\. ?")
SUDO_USERS = set(int(x) for x in os.environ.get("SUDO_USERS", "").split())
BLACK_LIST = set(int(x) for x in os.environ.get(
"BLACK_LIST", "").split())
DRIVE_CLIENT_ID = os.environ.get("DRIVE_CLIENT_ID", None)
DRIVE_CLIENT_SECRET = os.environ.get("DRIVE_CLIENT_SECRET", None)
DRIVE_AUTH_TOKEN_DATA = os.environ.get("DRIVE_AUTH_TOKEN_DATA", None)
LYDIA_API = os.environ.get("LYDIA_API", None)
GITHUB_REPO_LINK = os.environ.get(
"GITHUB_REPO_LINK", "https://github.com/authoritydmc/BEASTBOT-REBORN")
DROPBOX_TOKEN = os.environ.get("DROPBOX_TOKEN", None)
DRIVE_ACCOUNT = os.environ.get("DRIVE_ACCOUNT", None)
IPABOX_FOLDER = os.environ.get("IPABOX_FOLDER", None)
HEROKU_API_KEY = os.environ.get("HEROKU_API_KEY", None)
TG_APP_NAME = os.environ.get("TG_APP_NAME", None)
STICKER_PACK = os.environ.get("STICKER_PACK", None)
UNLOCKED_CHATS = os.environ.get("UNLOCKED_CHATS", None)