Add more details about minimum required amount of players
This commit is contained in:
parent
c5a58dac4e
commit
0959b2c82f
|
@ -554,7 +554,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
if r is not None: return r
|
if r is not None: return r
|
||||||
|
|
||||||
if len(players) < 2:
|
if len(players) < 2:
|
||||||
send('Not enough players')
|
send('Not enough players (needs at least two joined). Try inviting others and send !ready again once they\'ve joined.')
|
||||||
return game_setup
|
return game_setup
|
||||||
else:
|
else:
|
||||||
return setup_round
|
return setup_round
|
||||||
|
@ -977,7 +977,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
choosers = [i for i in choosers if i in players.values()]
|
choosers = [i for i in choosers if i in players.values()]
|
||||||
|
|
||||||
if len(players) < 2:
|
if len(players) < 2:
|
||||||
send('Not enough players to continue, quiting game')
|
send('Not enough players to continue (needs at least two), quiting game')
|
||||||
return no_game
|
return no_game
|
||||||
|
|
||||||
if czar not in players.values():
|
if czar not in players.values():
|
||||||
|
@ -1119,7 +1119,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
if len(players) < 2:
|
if len(players) < 2:
|
||||||
send('Not enough players to continue, quiting game')
|
send('Not enough players to continue (needs at least two), quiting game')
|
||||||
return no_game
|
return no_game
|
||||||
|
|
||||||
if czar not in players.values():
|
if czar not in players.values():
|
||||||
|
|
Loading…
Reference in New Issue