mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 10:02:17 +00:00
speed_test 修复 Topic Group (#97)
This commit is contained in:
parent
884c77a22f
commit
fa8f2eed78
@ -109,7 +109,7 @@ async def speedtest(client: Client, message: Message, request: AsyncClient):
|
||||
if not photo:
|
||||
return await msg.edit(des)
|
||||
try:
|
||||
await client.send_photo(message.chat.id, photo, caption=des)
|
||||
await client.send_photo(message.chat.id, photo, caption=des, reply_to_message_id=message.reply_to_top_message_id or message.reply_to_message_id)
|
||||
except Exception:
|
||||
return await msg.edit(des)
|
||||
await msg.safe_delete()
|
||||
|
Loading…
Reference in New Issue
Block a user