forked from devgaganin/Auto-Forward-Bot-V2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
18 lines (15 loc) · 646 Bytes
/
config.py
File metadata and controls
18 lines (15 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from os import environ
class Config:
API_ID = environ.get("API_ID", "577678")
API_HASH = environ.get("API_HASH", "d2c6e01uuiuiouioiuiou0fc6d7a1be")
BOT_TOKEN = environ.get("BOT_TOKEN", "70955...")
BOT_SESSION = environ.get("BOT_SESSION", "bot")
DATABASE_URI = environ.get("DATABASE", "mongodb+srv://chhjgjkkjhkjhkjh@cluster0.xowzpr4.mongodb.net/")
DATABASE_NAME = environ.get("DATABASE_NAME", "forward-bot")
BOT_OWNER_ID = [int(id) for id in environ.get("BOT_OWNER_ID", '6964148334').split()]
class temp(object):
lock = {}
CANCEL = {}
forwardings = 0
BANNED_USERS = []
IS_FRWD_CHAT = []