forked from VJBots/Rename-Render
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
36 lines (21 loc) · 1.15 KB
/
config.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
# Don't Remove Credit @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot @Tech_VJ
# Ask Doubt on telegram @KingVJ01
import re, os
id_pattern = re.compile(r'^.\d+$')
API_ID = os.environ.get("API_ID", "20838202")
API_HASH = os.environ.get("API_HASH", "fde3e78e3256ae13e868b39088c83838")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
FORCE_SUB = os.environ.get("FORCE_SUB", "VJ_Botz")
# Don't Remove Credit @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot @Tech_VJ
# Ask Doubt on telegram @KingVJ01
DB_NAME = os.environ.get("DB_NAME", "renamevjbot")
DB_URL = os.environ.get("DB_URL", "mongodb+srv://vk0634912:OKMino2da3dSzlZB@cluster0.pdtg3.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
FLOOD = int(os.environ.get("FLOOD", "10"))
START_PIC = os.environ.get("START_PIC", "https://te.legra.ph/file/119729ea3cdce4fefb6a1.jpg")
ADMIN = [int(admin) if id_pattern.search(admin) else admin for admin in os.environ.get('ADMIN', '5387859888').split()]
PORT = os.environ.get("PORT", "8080")
# Don't Remove Credit @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot @Tech_VJ
# Ask Doubt on telegram @KingVJ01