Skip to content

Commit

Permalink
fix: use proper template instead of hard coded one
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Sep 29, 2020
1 parent 5d611d0 commit 4eeb57e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blackjackbot/commands/game/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def next_player(update, context):
game.next_player()
except NoPlayersLeftException:
# TODO merge messages
update.effective_message.reply_text("<b>Dealer: {}</b>\n\n{}".format(game.dealer.cardvalue, get_cards_string(game.dealer, lang_id)), parse_mode="HTML")
update.effective_message.reply_text(translator("dealers_cards_are").format(game.dealer.cardvalue,
get_cards_string(game.dealer, lang_id)),
parse_mode="HTML")
evaluation_string = generate_evaluation_string(game, lang_id)

newgame_button = InlineKeyboardButton(text=translator("inline_keyboard_newgame"), callback_data="newgame")
Expand Down

0 comments on commit 4eeb57e

Please sign in to comment.