Spaces:
Build error
Build error
File size: 798 Bytes
03b652c 7282216 03b652c 7282216 03b652c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Copyright (c) 2022 Itz-fork
import os
class Config(object):
APP_ID = int(os.environ.get("APP_ID", 2276460))
API_HASH = os.environ.get("API_HASH", "1ee636feaecb523f12c844416dda70e3")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "5893846204:AAHkKkNFAg3reonLpKKEkcRv-66T9Vy-JbM")
AUTH_USERS = set(int(x) for x in os.environ.get("AUTH_USERS", "").split())
IS_PUBLIC_BOT = os.environ.get("IS_PUBLIC_BOT","True") in ["True", "true"]
LOGS_CHANNEL = int(os.environ.get("LOGS_CHANNEL",-1001874739413)) if os.environ.get("LOGS_CHANNEL","-1001874739413") else None
# DON'T CHANGE THESE 2 VARS
DOWNLOAD_LOCATION = "./NexaBots"
TG_MAX_SIZE = 2040108421
# Mega User Account
MEGA_EMAIL = os.environ.get("MEGA_EMAIL")
MEGA_PASSWORD = os.environ.get("MEGA_PASSWORD")
|