1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Add link on bio notification

This commit is contained in:
Steffo 2019-01-04 13:36:13 +01:00
parent 1972d1a657
commit c47494bbad

View file

@ -188,8 +188,9 @@ def page_editprofile():
profile_data.royal.fiorygi += 1 profile_data.royal.fiorygi += 1
try: try:
telegram_bot.send_message(config["Telegram"]["main_group"], telegram_bot.send_message(config["Telegram"]["main_group"],
f'⭐️ {profile_data.royal.username} ha configurato la sua bio su Royalnet' f'⭐️ {profile_data.royal.username} ha'
f' e ha ottenuto un fioryg!', f' <a href="http://ryg.steffo.eu/editprofile">configurato la sua bio</a>'
f' su Royalnet e ha ottenuto un fioryg!',
parse_mode="HTML", disable_web_page_preview=True, disable_notification=True) parse_mode="HTML", disable_web_page_preview=True, disable_notification=True)
except Exception: except Exception:
pass pass