Tell about limit at start of the game

This commit is contained in:
Juhani Krekelä 2019-05-10 19:56:39 +03:00
parent 1e5eb46239
commit 4dd40f8053
1 changed files with 5 additions and 0 deletions

View File

@ -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