From d543692ad1fef7c88c75b0ff75e28a6cbfeb204c Mon Sep 17 00:00:00 2001 From: Nemesis Date: Fri, 27 Jul 2018 14:10:29 +0200 Subject: [PATCH] modo sur invitation --- asmodee.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asmodee.py b/asmodee.py index b306fcc..b594bbe 100755 --- a/asmodee.py +++ b/asmodee.py @@ -1495,6 +1495,9 @@ def invitations(room_id, state): # Reponse aux invitations try: global bot bot.client.join_room(room_id) + room_id = event['room_id'] + room = bot.client.rooms[room_id] + if ('welcome' in liste_mod): modules[room.room_id, 'welcome'] = True if ('roll' in liste_mod):