misskey2telegram/modules/start.py
2022-12-22 22:18:43 +08:00

15 lines
340 B
Python

from pyrogram import Client, filters
from pyrogram.types import Message
des = """running"""
@Client.on_message(filters.incoming & filters.private &
filters.command(["start"]))
async def start_command(_: Client, message: Message):
"""
回应机器人信息
"""
await message.reply(des, quote=True)