Update results.py
update <b> on player list results.
This commit is contained in:
parent
a9a1855c1a
commit
1a0023a259
1 changed files with 3 additions and 4 deletions
|
@ -61,10 +61,9 @@ def add_other_cards(player, results, game):
|
||||||
|
|
||||||
def player_list(game):
|
def player_list(game):
|
||||||
"""Generate list of player strings"""
|
"""Generate list of player strings"""
|
||||||
return [_("*{name}* ({number} card)",
|
return [_("<b>{name}</b> ({number} card)",
|
||||||
"*{name}* ({number} cards)",
|
"<b>{name}</b> ({number} cards)",
|
||||||
len(player.cards),
|
len(player.cards)
|
||||||
parse_mode=telegram.ParseMode.MARKDOWN)
|
|
||||||
.format(name=player.user.first_name, number=len(player.cards))
|
.format(name=player.user.first_name, number=len(player.cards))
|
||||||
for player in game.players]
|
for player in game.players]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue