forked from Silicon-Developer/Ultra-Forward-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
35 lines (29 loc) · 1.17 KB
/
config.py
File metadata and controls
35 lines (29 loc) · 1.17 KB
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
import datetime
from os import environ
#Dont Remove My Credit @Silicon_Bot_Update
#This Repo Is By @Silicon_Official
# For Any Kind Of Error Ask Us In Support Group @Silicon_Botz
class Config:
API_ID = environ.get("API_ID", "")
API_HASH = environ.get("API_HASH", "")
BOT_TOKEN = environ.get("BOT_TOKEN", "")
BOT_SESSION = environ.get("BOT_SESSION", "Auto_Forward")
DATABASE_URI = environ.get("DATABASE", "")
DATABASE_NAME = environ.get("DATABASE_NAME", "")
BOT_OWNER_ID = [int(id) for id in environ.get("BOT_OWNER_ID", '').split()]
LOG_CHANNEL = int(environ.get('LOG_CHANNEL', ''))
FORCE_SUB_CHANNEL = environ.get("FORCE_SUB_CHANNEL", "")
FORCE_SUB_ON = environ.get("FORCE_SUB_ON", "True")
PORT = environ.get('PORT', '8080')
#Dont Remove My Credit @Silicon_Bot_Update
#This Repo Is By @Silicon_Official
# For Any Kind Of Error Ask Us In Support Group @Silicon_Botz
class temp(object):
lock = {}
CANCEL = {}
forwardings = 0
BANNED_USERS = []
IS_FRWD_CHAT = []
#Dont Remove My Credit @Silicon_Bot_Update
#This Repo Is By @Silicon_Official
# For Any Kind Of Error Ask Us In Support Group @Silicon_Botz