forked from uniborg/uniborg
Respect original replies when sending a snip
This commit is contained in:
parent
95e900c1f6
commit
32acefa991
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue