video-stream/system/software.py

27 lines
464 B
Python
Raw Normal View History

2021-10-11 04:33:42 +00:00
# Copyright (C) 2021 Veez Music-Project
from config import Config
from pyrogram import Client
from pytgcalls import PyTgCalls
VGA = Client(
Config.SESSION,
Config.API_ID,
Config.API_HASH,
2021-10-11 04:48:07 +00:00
plugins=dict(root="system")
2021-10-11 04:33:42 +00:00
)
2021-10-11 04:48:07 +00:00
2021-10-11 04:39:46 +00:00
call_py = PyTgCalls(VGA, cache_duration=180)
2021-10-11 04:48:07 +00:00
############
# inti #
############
bot = Client(
":memory:",
Config.API_ID,
Config.API_HASH,
bot_token=Config.BOT_TOKEN,
plugins=dict(root="program")
)