initialize update

This commit is contained in:
zxce3 2021-09-12 11:37:21 +07:00
parent 9338a5f932
commit 52fc39423a

View File

@ -5,6 +5,8 @@ if path.exists("local.env"):
load_dotenv("local.env")
load_dotenv()
class Veez(object):
admins = {}
BOT_TOKEN = getenv("BOT_TOKEN", None)
API_ID = int(getenv("API_ID", "6"))
@ -15,3 +17,7 @@ SUDO_USERS = list(map(int, getenv("SUDO_USERS").split()))
ASSISTANT_NAME = getenv("ASSISTANT_NAME", "tg_video_stream")
BOT_USERNAME = getenv("BOT_USERNAME", "veezvidstreambot")
COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").split())
FPS = int(getenv('FPS', 20))
WIDTH = int(getenv('WIDTH', 1280))
HEIGHT = int(getenv('HEIGHT', 720))
BITRATE = int(getenv('BITRATE', 48000))