Initial commit
This commit is contained in:
8
plugins/handler.py
Normal file
8
plugins/handler.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pyrogram.client import Client
|
||||
from pyrogram.types import Message
|
||||
from pyrogram import filters
|
||||
|
||||
|
||||
@Client.on_message(filters.text & filters.private)
|
||||
async def echo_reversed(app: Client, message: Message):
|
||||
await message.reply(message.text[::-1])
|
Reference in New Issue
Block a user