dtcn / Detection /__init__.py
randydev's picture
Update Detection/__init__.py
3e1bbe0 verified
raw
history blame contribute delete
308 Bytes
from pyrogram import Client
import pyromod
from pyromod import listen
from config import API_ID, API_HASH, BOT_TOKEN
assistant = Client(
"Detection",
api_id=API_ID,
api_hash=API_HASH,
bot_token=BOT_TOKEN,
workers=300,
plugins=dict(root="Detection.manager"),
sleep_threshold=180
)