forked from devgaganin/Save-Restricted-Content-Bot-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
30 lines (25 loc) · 1 KB
/
config.py
File metadata and controls
30 lines (25 loc) · 1 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
# devgagan
# Note if you are trying to deploy on vps then directly fill values in ("")
from os import getenv
# VPS --- FILL COOKIES 🍪 in """ ... """
INST_COOKIES = """
# wtite up here insta cookies
"""
YTUB_COOKIES = """
# write here yt cookies
"""
API_ID = int(getenv("API_ID", ""))
API_HASH = getenv("API_HASH", "")
BOT_TOKEN = getenv("BOT_TOKEN", "")
OWNER_ID = list(map(int, getenv("OWNER_ID", "1437445074").split()))
MONGO_DB = getenv("MONGO_DB", "0")
LOG_GROUP = getenv("LOG_GROUP", "-1002256415307")
CHANNEL_ID = int(getenv("CHANNEL_ID", "-1002256415307"))
FREEMIUM_LIMIT = int(getenv("FREEMIUM_LIMIT", "0"))
PREMIUM_LIMIT = int(getenv("PREMIUM_LIMIT", "500"))
WEBSITE_URL = getenv("WEBSITE_URL", "upshrink.com")
AD_API = getenv("AD_API", "b9081b6a34df0feabefc2ec42bef37242d4d84da")
STRING = getenv("STRING", None)
YT_COOKIES = getenv("YT_COOKIES", YTUB_COOKIES)
DEFAULT_SESSION = getenv("DEFAUL_SESSION", None) # added old method of invite link joining
INSTA_COOKIES = getenv("INSTA_COOKIES", INST_COOKIES)