Disable web page previews in List Quests/Side Quests

This commit is contained in:
Ceda EI 2018-12-26 21:12:50 +05:30
parent 0fdabeabda
commit 030276a23f
1 changed files with 2 additions and 1 deletions

3
bot.py
View File

@ -208,7 +208,8 @@ def list_quests(bot, update, player, type):
text += f"\n/SQ_{i.QID} {i.name}" text += f"\n/SQ_{i.QID} {i.name}"
chat_id = update.message.chat_id 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): def quest(bot, update, player, qid, type):