Lawnmower/plugins/ping.py

9 lines
274 B
Python
Raw Normal View History

2022-04-23 16:18:35 +00:00
from pyrogram import Client, filters
from pyrogram.types import Message
@Client.on_message(filters.incoming & filters.private &
filters.command(["ping", ]))
async def ping_check(_: Client, message: Message):
await message.reply("poi ~", quote=True)