mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2025-02-16 13:24:06 +00:00
Cambiato ultimo config
This commit is contained in:
parent
8d6af132bd
commit
e326ea3cd5
1 changed files with 4 additions and 4 deletions
8
main.py
8
main.py
|
@ -572,10 +572,10 @@ def config(bot, update):
|
|||
game.configstep += 1
|
||||
game.message(bot, s.config_list[game.configstep])
|
||||
elif game.configstep == 3:
|
||||
try:
|
||||
game.votingmifia = bool(cmd[1])
|
||||
except ValueError:
|
||||
game.message(bot, s.error_invalid_config)
|
||||
if cmd[1].lower() == 'testa':
|
||||
game.votingmifia = False
|
||||
elif cmd[1].lower() == 'unica':
|
||||
game.votingmifia = True
|
||||
else:
|
||||
# Fine del config, inizio assegnazione ruoli
|
||||
game.phase = 'Voting'
|
||||
|
|
Loading…
Add table
Reference in a new issue