Skip to content

Commit

Permalink
🐛 | Can chose truth just tree times, after that, has to chose dare, t…
Browse files Browse the repository at this point in the history
…hen can chose truth again
  • Loading branch information
meu-bem committed Oct 26, 2022
1 parent eac6ac6 commit 86250e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylax/model/service/pylax/commands/choice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def choice(
if len([player for player in room.game.players if player.id not in punished_player_ids]) > 1:
if option == 'v':
# It can choose truth
if room.game.victim.number_of_truths <= 3:
if room.game.victim.number_of_truths < 3:
room.game.victim.response = 'verdade'
await context.send(f'<@{room.game.asker.id}>, faça sua pergunta.')
room.game.victim.number_of_truths += 1
Expand All @@ -59,7 +59,7 @@ async def choice(
room.game.fase_controller = 3
break
else:
await context.send(f'Não é possível enviar uma resposta para o bot agora. Veja o número de jogadores ou em que fase estamos.')
await context.send(f'🟥 | Não é possível enviar uma resposta para o bot agora. Veja o número de jogadores ou em que fase estamos.')
else:
# [IMPLEMENTS]
...
Expand Down

0 comments on commit 86250e6

Please sign in to comment.