From 030276a23f3202fc8bfea35b69cf8da00e8b6604 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Wed, 26 Dec 2018 21:12:50 +0530 Subject: [PATCH] Disable web page previews in List Quests/Side Quests --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 08ad5da..98cbd64 100644 --- a/bot.py +++ b/bot.py @@ -208,7 +208,8 @@ def list_quests(bot, update, player, type): text += f"\n/SQ_{i.QID} {i.name}" chat_id = update.message.chat_id - bot.send_message(chat_id=chat_id, text=text, parse_mode="HTML") + bot.send_message(chat_id=chat_id, text=text, parse_mode="HTML", + disable_web_page_preview=True) def quest(bot, update, player, qid, type):