FileToLink / Thunder /bot /__init__.py
Hermes Agent
Fix primary client concurrent download limit
492f7d4
Raw
History Blame Contribute Delete
368 Bytes
# Thunder/bot/__init__.py
from pyrogram import Client
from Thunder.vars import Var
StreamBot = Client(
name="Web Streamer",
api_id=Var.API_ID,
api_hash=Var.API_HASH,
bot_token=Var.BOT_TOKEN,
sleep_threshold=Var.SLEEP_THRESHOLD,
workers=Var.WORKERS,
max_concurrent_transmissions=1000
)
multi_clients = {}
work_loads = {}