forked from AJBotVerse/URL_Uploader_Bot
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
14 lines (8 loc) · 639 Bytes
/
config.py
File metadata and controls
14 lines (8 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
class Config(object):
TG_BOT_TOKEN = os.environ.get("BOT_TOKEN", "") # Make a bot from https://t.me/BotFather and enter the token here
APP_ID = int(os.environ.get("API_ID", 12345)) # Get this value from https://my.telegram.org/apps
API_HASH = os.environ.get("API_HASH", "") # Get this value from https://my.telegram.org/apps
OWNER_ID = int(os.environ.get("OWNER_ID", None)) # Your(owner's) telegram id
MONGO_STR = os.environ.get("MONGO_STR", "") # Get from MongoDB Atlas
DOWNLOAD_LOCATION = "app//DOWNLOADS//" # The download location for users. (Don't change anything in this field!)