mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 05:44:19 +00:00
Paltri trova i bug (#61)
This commit is contained in:
parent
f0ff9b0e36
commit
7742bccd29
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -640,14 +640,14 @@ def status(bot: Bot, update):
|
|||
# Aggiungi l'elenco dei giocatori
|
||||
for player in game.players:
|
||||
if not player.alive:
|
||||
text += s.status_dead_player.format(name=player.tusername)
|
||||
text += s.status_dead_player.format(player=player)
|
||||
elif game.day > 1 and player.votingfor is not None:
|
||||
text += s.status_alive_player.format(icon="\U0001F610",
|
||||
player=player,
|
||||
target=player.votingfor)
|
||||
else:
|
||||
text += s.status_basic_player.format(icon="\U0001F610",
|
||||
name=player.tusername)
|
||||
player=player)
|
||||
game.message(text)
|
||||
else:
|
||||
bot.sendMessage(update.message.chat.id, s.error_no_games_found, parse_mode=ParseMode.MARKDOWN)
|
||||
|
|
Loading…
Reference in a new issue