This commit is contained in:
levina 2021-09-13 21:50:54 +07:00 committed by GitHub
parent 41328eaa8e
commit bc3ce223c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ load_dotenv()
class Veez(object): class Veez(object):
admins = {} admins = {}
BOT_TOKEN = getenv("BOT_TOKEN", None) BOT_TOKEN = getenv("BOT_TOKEN", None)
CHANNEL = int(os.getenv('CHANNEL', 123456))
API_ID = int(getenv("API_ID", "6")) API_ID = int(getenv("API_ID", "6"))
API_HASH = getenv("API_HASH", "eb06d4abfb49dc3eeb1aeb98ae0f581e") API_HASH = getenv("API_HASH", "eb06d4abfb49dc3eeb1aeb98ae0f581e")
SESSION_NAME = getenv("SESSION_NAME", None) SESSION_NAME = getenv("SESSION_NAME", None)
@ -16,4 +17,4 @@ class Veez(object):
SUDO_USERS = list(map(int, getenv("SUDO_USERS").split())) SUDO_USERS = list(map(int, getenv("SUDO_USERS").split()))
ASSISTANT_NAME = getenv("ASSISTANT_NAME", "tg_video_stream") ASSISTANT_NAME = getenv("ASSISTANT_NAME", "tg_video_stream")
BOT_USERNAME = getenv("BOT_USERNAME", "veezvidstreambot") BOT_USERNAME = getenv("BOT_USERNAME", "veezvidstreambot")
COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split()) COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split())