mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-09 04:47:34 +08:00
Fix msg link in status
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
7d9bf57cc9
commit
de73b06c68
@ -1,5 +1,4 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from google.oauth2.service_account import Credentials
|
|
||||||
import googleapiclient.discovery
|
import googleapiclient.discovery
|
||||||
import json
|
import json
|
||||||
import progress.bar
|
import progress.bar
|
||||||
|
@ -132,7 +132,7 @@ def get_readable_message(sid, is_user, page_no=1, status="All", page_step=1):
|
|||||||
):
|
):
|
||||||
tstatus = task.status()
|
tstatus = task.status()
|
||||||
if task.listener.isSuperChat:
|
if task.listener.isSuperChat:
|
||||||
msg += f"<b><a href='{index+start_position}.{task.listener.message.link}'>{tstatus}</a>: </b>"
|
msg += f"<b>{index+start_position}.<a href='{task.listener.message.link}'>{tstatus}</a>: </b>"
|
||||||
else:
|
else:
|
||||||
msg += f"<b>{index+start_position}.{tstatus}: </b>"
|
msg += f"<b>{index+start_position}.{tstatus}: </b>"
|
||||||
msg += f"<code>{escape(f'{task.name()}')}</code>"
|
msg += f"<code>{escape(f'{task.name()}')}</code>"
|
||||||
|
Loading…
Reference in New Issue
Block a user