Spaces:
Paused
Paused
RiZoeL -!
commited on
Commit
·
1dbb49a
1
Parent(s):
ba83449
Create watcher.py
Browse files- Powers/plugins/watcher.py +14 -0
Powers/plugins/watcher.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from Powers.bot_class import Gojo
|
| 2 |
+
from pyrogram.types import Message
|
| 3 |
+
from pyrogram import filters
|
| 4 |
+
|
| 5 |
+
try:
|
| 6 |
+
from RiZoeLX.functions import Red7_Watch
|
| 7 |
+
except:
|
| 8 |
+
import os
|
| 9 |
+
os.system("pip3 install pyRiZoeLX")
|
| 10 |
+
from RiZoeLX.functions import Red7_Watch
|
| 11 |
+
|
| 12 |
+
@Gojo.on_message(filters.new_chat_members)
|
| 13 |
+
async def Red7_Scanner(_, message: Message):
|
| 14 |
+
await Red7_Watch(Gojo, message)
|