twitter2telegram/plugins/ping.py

9 lines
162 B
Python
Raw Normal View History

2023-05-24 15:20:21 +00:00
from init import bot
from pyrogram import filters
@bot.on_message(filters=filters.command("ping"))
async def ping(_, message):
await message.reply("pong")