1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2018-06-04 23:20:08 +02:00
parent a2ca39513c
commit d6e2f8428b

View file

@ -399,8 +399,8 @@ def cmd_profile(bot: Bot, update: Update):
bot.send_message(update.message.chat.id, "⚠ Non sei connesso a Royalnet!\n" bot.send_message(update.message.chat.id, "⚠ Non sei connesso a Royalnet!\n"
"Per registrarti, utilizza il comando /register.") "Per registrarti, utilizza il comando /register.")
return return
bot.send_message(update.message.chat.id, f"👤 [Profilo di {user.royals.username}]" bot.send_message(update.message.chat.id, f"👤 [Profilo di {user.royal.username}]"
f"(https://ryg.steffo.eu/profile/{user.royals.username})", f"(https://ryg.steffo.eu/profile/{user.royal.username})",
parse_mode="Markdown") parse_mode="Markdown")