23 lines
837 B
Python
23 lines
837 B
Python
|
from pyrogram import Client, filters
|
|||
|
from pyrogram.types import Message
|
|||
|
from ci import me
|
|||
|
|
|||
|
des = """
|
|||
|
你好!{} 我是 [{}]({}),一个为 lsposed 用户打造的一体化机器人!
|
|||
|
我可以帮助你获取最新的 lsposed 模块的下载链接和信息查询!
|
|||
|
|
|||
|
点击下面的帮助按钮来查看使用方法。
|
|||
|
加入 [我的频道](https://t.me/lsposed_Modules_Updates_Tracker) 获取关于 lsposed 模块的所有更新和公告!
|
|||
|
"""
|
|||
|
|
|||
|
|
|||
|
@Client.on_message(filters.incoming & filters.private &
|
|||
|
filters.command(["start"]))
|
|||
|
async def start_command(client: Client, message: Message):
|
|||
|
"""
|
|||
|
回应消息
|
|||
|
"""
|
|||
|
await message.reply(des.format(message.from_user.mention(),
|
|||
|
me.name,
|
|||
|
f"https://t.me/{me.username}"), quote=True,)
|