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