forked from nortti/tea_cah
Tell about limit at start of the game
This commit is contained in:
parent
1e5eb46239
commit
4dd40f8053
|
@ -392,6 +392,9 @@ def game(send, notice, voice, devoice, get_event):
|
|||
deck_add_random_handler()
|
||||
deck_add_random_handler()
|
||||
|
||||
elif rest[0] == 'empty':
|
||||
pass
|
||||
|
||||
elif rest[0] == 'expert':
|
||||
expert = True
|
||||
|
||||
|
@ -399,6 +402,8 @@ def game(send, notice, voice, devoice, get_event):
|
|||
send('Unknown preset %s' % rest[0])
|
||||
|
||||
if not expert:
|
||||
limit_type = {limit_types.rounds: 'rounds', limit_types.points: 'points'}[limit.type]
|
||||
send('Limit is %i %s, change with !limit' % (limit.number, limit_type))
|
||||
send('Once you are ready to start the game, everyone send !ready')
|
||||
|
||||
return game_setup
|
||||
|
|
Loading…
Reference in New Issue