Skip to content

Commit

Permalink
fix no uploaded message
Browse files Browse the repository at this point in the history
  • Loading branch information
neekaru authored Sep 23, 2021
1 parent 4ce63c3 commit c4035d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def onUploadComplete(self, link: str, size, files, folders, typ):
msg = f'<b>Name:</b> <code>{link}</code>\n'
msg += f'<b>Total Files:</b> {count}'
sendMessage(msg, self.bot, self.update)
elif count != 1:
else:
chat_id = chat_id[4:]
msg = f"<b>Name:</b> <a href='https://t.me/c/{chat_id}/{self.uid}'>{link}</a>\n"
msg += f'<b>Total Files:</b> {count}\n'
Expand Down

0 comments on commit c4035d4

Please sign in to comment.