Skip to content

Commit

Permalink
notes - improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Reddy authored Dec 14, 2019
1 parent 2ec77dd commit 167506e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userbot/modules/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,14 @@ async def incom_note(getnt):
msg_o.mesage,
reply_to=message_id_to_reply,
file=msg_o.media)
await getnt.delete()

elif note and note.reply:
await getnt.client.send_message(getnt.chat_id,
note.reply,
reply_to=message_id_to_reply)
await getnt.delete()

except AttributeError:
pass

Expand Down

0 comments on commit 167506e

Please sign in to comment.