mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 16:26:45 +00:00
netease 支持回复
This commit is contained in:
parent
fc3b454088
commit
be38fceef3
@ -39,7 +39,7 @@ async def netease_search(keyword: str, message: Message):
|
|||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
answer: Message = await conv.get_response(filters=filters.audio)
|
answer: Message = await conv.get_response(filters=filters.audio)
|
||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
await answer.forward(message.chat.id)
|
await answer.copy(message.chat.id, reply_to_message_id=message.reply_to_message_id)
|
||||||
await message.safe_delete()
|
await message.safe_delete()
|
||||||
|
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ async def netease_url(url: str, message: Message):
|
|||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
answer: Message = await conv.get_response(filters=filters.audio)
|
answer: Message = await conv.get_response(filters=filters.audio)
|
||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
await answer.forward(message.chat.id)
|
await answer.copy(message.chat.id, reply_to_message_id=message.reply_to_message_id)
|
||||||
await message.safe_delete()
|
await message.safe_delete()
|
||||||
|
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ async def netease_id(music_id: str, message: Message):
|
|||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
answer: Message = await conv.get_response(filters=filters.audio)
|
answer: Message = await conv.get_response(filters=filters.audio)
|
||||||
await conv.mark_as_read()
|
await conv.mark_as_read()
|
||||||
await answer.forward(message.chat.id)
|
await answer.copy(message.chat.id, reply_to_message_id=message.reply_to_message_id)
|
||||||
await message.safe_delete()
|
await message.safe_delete()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user