forked from VJBots/VJ-String-Session-Generator-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
20 lines (14 loc) · 645 Bytes
/
config.py
File metadata and controls
20 lines (14 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from os import environ
# Telegram Account Api Id And Api Hash
API_ID = int(environ.get("API_ID", "22554523"))
API_HASH = environ.get("API_HASH", "d3cd72e44e4160ce1ee0b7947e8f2d89")
# Your Main Bot Token
BOT_TOKEN = environ.get("BOT_TOKEN", "")
# Owner ID For Broadcasting
OWNER_ID = int(environ.get("OWNER_ID", "7460363208")) # Owner Id or Admin Id
# Give Your Force Subscribe Channel Id Below And Make Bot Admin With Full Right.
F_SUB = environ.get("F_SUB", "-1002873429188")
# Mongodb Database Uri For User Data Store
MONGO_DB_URI = environ.get("MONGO_DB_URI", "")
# Port To Run Web Application
PORT = int(environ.get('PORT', 8080))