File size: 308 Bytes
3e1bbe0
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
)