Dan is a special case
This commit is contained in:
		@@ -292,6 +292,9 @@ 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:
 | 
			
		||||
            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"
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user