From a2ca39513c0ee101fed0fdb648ec44c06ffca3c0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 4 Jun 2018 23:18:50 +0200 Subject: [PATCH] no comment --- telegrambot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/telegrambot.py b/telegrambot.py index 08329850..a989aef9 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -399,8 +399,9 @@ def cmd_profile(bot: Bot, update: Update): bot.send_message(update.message.chat.id, "⚠ Non sei connesso a Royalnet!\n" "Per registrarti, utilizza il comando /register.") return - bot.send_message(update.message.chat.id, "👤 [Profilo di {user.royals.username}]" - "(https://ryg.steffo.eu/profile/{user.royals.username})") + bot.send_message(update.message.chat.id, f"👤 [Profilo di {user.royals.username}]" + f"(https://ryg.steffo.eu/profile/{user.royals.username})", + parse_mode="Markdown") def process(arg_discord_connection):