2021-11-28 14:55:10 +00:00
|
|
|
|
from pyrogram import Client, filters
|
|
|
|
|
from pyrogram.types import Message
|
|
|
|
|
from defs.button import gen_button, Button
|
|
|
|
|
|
|
|
|
|
des = """本机器人特性:
|
|
|
|
|
|
|
|
|
|
★ 解析 bilibili 视频
|
|
|
|
|
★ 复读机(3条)
|
|
|
|
|
★ 答案之书
|
|
|
|
|
★ 鲁迅说过
|
|
|
|
|
★ 我有个朋友
|
|
|
|
|
★ 简易版问与答
|
2022-02-27 13:18:16 +00:00
|
|
|
|
★ 网易云音乐
|
2022-03-05 13:41:36 +00:00
|
|
|
|
★ 查重、小作文
|
2021-11-28 14:55:10 +00:00
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Client.on_message(filters.incoming & filters.private & ~filters.edited &
|
|
|
|
|
filters.command(["start"]))
|
|
|
|
|
async def start_command(client: Client, message: Message):
|
|
|
|
|
"""
|
|
|
|
|
回应机器人信息
|
|
|
|
|
"""
|
|
|
|
|
await message.reply(des,
|
|
|
|
|
quote=True,
|
|
|
|
|
reply_markup=gen_button(
|
2022-02-27 13:18:16 +00:00
|
|
|
|
[Button(0, "Github", "https://github.com/XtaoLabs/iShotaBot")]))
|