This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
PyrogramBotBase/plugins/handler.py
2023-04-01 14:25:41 +02:00

9 lines
252 B
Python

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])