forked from DevsExpo/AccountGenBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfigs.py
More file actions
17 lines (15 loc) · 785 Bytes
/
Configs.py
File metadata and controls
17 lines (15 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
class Config(object):
BOT_TOKEN = os.environ.get("BOT_TOKEN", None)
DB_URI = os.environ.get("DATABASE_URL", None)
API_HASH = os.environ.get("API_HASH", "hfcdgv3656hshs")
API_ID = int(os.environ.get("API_ID",99 6))
ACCOUNT_GEN_NAME = os.environ.get("ACCOUNT_GEN_NAME", "Alt-Balaji")
JTU_ENABLE = os.environ.get("JTU_ENABLE", False)
CHANNEL_USERNAME = os.environ.get("CHANNEL_USERNAME", None)
CHANNEL_URL = os.environ.get("CHANNEL_URL", None)
DUMB_CHAT = int(os.environ.get("DUMB_CHAT", False))
OWNER_ID = int(os.environ.get("OWNER_ID", None))
GEN_LIMIT_PERDAY = int(os.environ.get("GEN_LIMIT_PERDAY", 2
CHANNEL_USERNAME2 = int(os.environ.get("CHANNEL_USERNAME2", None
CHANNEL_URL = int(os.environ.get("CHANNEL_URL2", None