netease 支持回复

This commit is contained in:
xtaodada 2022-09-15 14:19:01 +08:00
parent fc3b454088
commit be38fceef3
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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()