From 4dd40f80531fd5e69c5351c89e533e75ee915c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Fri, 10 May 2019 19:56:39 +0300 Subject: [PATCH] Tell about limit at start of the game --- gameloop.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gameloop.py b/gameloop.py index 93d37b8..3aa9bb6 100644 --- a/gameloop.py +++ b/gameloop.py @@ -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