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):