initialize update
This commit is contained in:
parent
9338a5f932
commit
52fc39423a
26
config.py
26
config.py
@ -5,13 +5,19 @@ if path.exists("local.env"):
|
|||||||
load_dotenv("local.env")
|
load_dotenv("local.env")
|
||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
admins = {}
|
|
||||||
BOT_TOKEN = getenv("BOT_TOKEN", None)
|
class Veez(object):
|
||||||
API_ID = int(getenv("API_ID", "6"))
|
admins = {}
|
||||||
API_HASH = getenv("API_HASH", "eb06d4abfb49dc3eeb1aeb98ae0f581e")
|
BOT_TOKEN = getenv("BOT_TOKEN", None)
|
||||||
SESSION_NAME = getenv("SESSION_NAME", None)
|
API_ID = int(getenv("API_ID", "6"))
|
||||||
DURATION_LIMIT = int(getenv("DURATION_LIMIT", "15"))
|
API_HASH = getenv("API_HASH", "eb06d4abfb49dc3eeb1aeb98ae0f581e")
|
||||||
SUDO_USERS = list(map(int, getenv("SUDO_USERS").split()))
|
SESSION_NAME = getenv("SESSION_NAME", None)
|
||||||
ASSISTANT_NAME = getenv("ASSISTANT_NAME", "tg_video_stream")
|
DURATION_LIMIT = int(getenv("DURATION_LIMIT", "15"))
|
||||||
BOT_USERNAME = getenv("BOT_USERNAME", "veezvidstreambot")
|
SUDO_USERS = list(map(int, getenv("SUDO_USERS").split()))
|
||||||
COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ ! .").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))
|
Loading…
Reference in New Issue
Block a user