From b3d6c2722e6388dcc8239c83ca4ca2beb801ae6e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 10 Feb 2019 14:50:18 +0100 Subject: [PATCH] Use reply in /cv --- telegrambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegrambot.py b/telegrambot.py index 000b4f53..032ad376 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -172,7 +172,7 @@ def cmd_cv(bot: telegram.Bot, update: telegram.Update): else: discord_connection.send("get cv") message = discord_connection.recv() - bot.send_message(update.message.chat.id, message, disable_web_page_preview=True, parse_mode="HTML") + reply(bot, update, message) @command