randydev commited on
Commit
3e1bbe0
·
verified ·
1 Parent(s): 4759bc2

Update Detection/__init__.py

Browse files
Files changed (1) hide show
  1. Detection/__init__.py +14 -0
Detection/__init__.py CHANGED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pyrogram import Client
2
+ import pyromod
3
+ from pyromod import listen
4
+ from config import API_ID, API_HASH, BOT_TOKEN
5
+
6
+ assistant = Client(
7
+ "Detection",
8
+ api_id=API_ID,
9
+ api_hash=API_HASH,
10
+ bot_token=BOT_TOKEN,
11
+ workers=300,
12
+ plugins=dict(root="Detection.manager"),
13
+ sleep_threshold=180
14
+ )