Respect original replies when sending a snip

This commit is contained in:
Lonami Exo 2018-04-23 16:11:40 +02:00
parent 95e900c1f6
commit 32acefa991
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ async def on_snip(event):
else: else:
media = None media = None
await borg.send_message( await borg.send_message(await event.input_chat, snip['text'],
await event.input_chat, snip['text'], file=media) file=media,
reply_to=event.message.reply_to_msg_id)
await event.delete() await event.delete()