video-stream/config.py

24 lines
872 B
Python
Raw Normal View History

2021-09-13 15:14:35 +00:00
import os
2021-10-25 22:21:15 +00:00
from os import getenv
2021-09-09 01:18:24 +00:00
from dotenv import load_dotenv
2021-10-25 22:21:15 +00:00
if os.path.exists("local.env"):
2021-09-09 01:18:24 +00:00
load_dotenv("local.env")
load_dotenv()
2021-10-25 22:21:15 +00:00
admins = {}
SESSION_NAME = getenv("SESSION_NAME", "session")
BOT_TOKEN = getenv("BOT_TOKEN")
BOT_NAME = getenv("BOT_NAME", "Video Stream")
API_ID = int(getenv("API_ID"))
API_HASH = getenv("API_HASH")
OWNER_NAME = getenv("OWNER_NAME", "dlwrml")
ALIVE_NAME = getenv("ALIVE_NAME", "Levina")
BOT_USERNAME = getenv("BOT_USERNAME", "veezvideobot")
ASSISTANT_NAME = getenv("ASSISTANT_NAME", "cleo_invida")
GROUP_SUPPORT = getenv("GROUP_SUPPORT", "VeezSupportGroup")
UPDATES_CHANNEL = getenv("UPDATES_CHANNEL", "levinachannel")
SUDO_USERS = list(map(int, getenv("SUDO_USERS").split()))
COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split())
ALIVE_IMG = getenv("ALIVE_IMG", "https://telegra.ph/file/c83b000f004f01897fe18.png")