From fd075a8535267055071cd9dc586f844b882141ef Mon Sep 17 00:00:00 2001 From: Flowiee <55394031+Flowiee@users.noreply.github.com> Date: Thu, 17 Oct 2019 16:53:56 +0200 Subject: [PATCH] Update results.py --- results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/results.py b/results.py index c93ed37..7c94cb1 100644 --- a/results.py +++ b/results.py @@ -26,7 +26,7 @@ from telegram import InlineQueryResultArticle, InputTextMessageContent, \ InlineQueryResultCachedSticker as Sticker import card as c -from utils import display_color, display_color_group, display_name +from utils import display_color, display_color_group, display_name, display_card_text from internationalization import _, __ @@ -205,7 +205,7 @@ def add_card(game, card, results, can_play): ) if game.mode == "text": results.append( - Sticker(str(card), sticker_file_id=c.STICKERS[str(card)], input_message_content=InputTextMessageContent("Card Played: {card}".format(card=repr(card))) + Sticker(str(card), sticker_file_id=c.STICKERS[str(card)], input_message_content=InputTextMessageContent("Card Played: {card}".format(card=display_card_text(card))) )) else: results.append(