diff --git a/asmodee.py b/asmodee.py index 14cfe9e..8a73fdb 100755 --- a/asmodee.py +++ b/asmodee.py @@ -7,6 +7,7 @@ import io import signal import sys import pickle +import time from matrix_bot_api.matrix_bot_api import MatrixBotAPI from matrix_bot_api.mregex_handler import MRegexHandler @@ -709,6 +710,7 @@ def invitations(room_id, state): try: global bot bot.client.join_room(room_id) + time.sleep(2) del bot main() except: