Spaces:
Build error
Build error
# Copyright (c) 2022 Itz-fork | |
import os | |
class Config(object): | |
# Mandotory | |
APP_ID = int(os.environ.get("APP_ID",2276460)) | |
API_HASH = os.environ.get("API_HASH","1ee636feaecb523f12c844416dda70e3") | |
BOT_TOKEN = os.environ.get("BOT_TOKEN","5921672868:AAFxA_DFpNJp0wzCSVeUS4e1oO8uC9f538A") | |
LOGS_CHANNEL = int(os.environ.get("LOGS_CHANNEL",-1001874739413)) | |
BOT_OWNER = int(os.environ.get("BOT_OWNER",1361863347)) | |
MONGODB_URL = os.environ.get("MONGODB_URL","mongodb+srv://mongox:[email protected]/?retryWrites=true&w=majority") | |
GOFILE_TOKEN = os.environ.get("GOFILE_TOKEN","g4V7Ns2iOJeWP3kMOboy88ZbTFil8qdj") | |
# Optional | |
MAX_DOWNLOAD_SIZE = int(os.environ.get("MAX_DOWNLOAD_SIZE")) if os.environ.get("MAX_DOWNLOAD_SIZE") else 10737418240 | |
# Constents | |
DOWNLOAD_LOCATION = f"{os.path.dirname(__file__)}/NexaBots" | |
TG_MAX_SIZE = 2040108421 | |
CHUNK_SIZE = 1024 * 6 | |