diff --git a/orochi/bot.py b/orochi/bot.py index c9c076f..a53d318 100644 --- a/orochi/bot.py +++ b/orochi/bot.py @@ -292,7 +292,10 @@ async def close(ctx: commands.Context): await channel.send("Les votes sont à présent clos ! " "Rendez-vous dans la salle principale pour découvrir les scores.") if player.score <= 0: - await channel.send("Tiens ! Vous êtes morts :)") + if player.name == "Dan": + await channel.send("Tiens ! Vous êtes m... Vous semblez bien tenir à la piqûre.") + else: + await channel.send("Tiens ! Vous êtes morts :)") elif player.score >= 9: await channel.send("Vous avez plus de 9 points. Vous pouvez désormais passer la porte 9.\n" "Mais ... Attendrez-vous vos camarades ?") @@ -442,7 +445,7 @@ class VoteView(disnake.ui.View): current_player = player break - if current_player.score <= 0: + if current_player.score <= 0 and current_player.name != "Dan": return await interaction.send("Vous êtes mort⋅e !") current_vote: RoundVote | None = None