diff --git a/its_matrix_bot/__init__.py b/its_matrix_bot/__init__.py index 4ba44cc..32ecc2b 100755 --- a/its_matrix_bot/__init__.py +++ b/its_matrix_bot/__init__.py @@ -17,6 +17,7 @@ class ItSyndikatBot: def __init__(self, config: Config): self.config = config + self.its_api = ItSyndikatApi(config) self.current_open_state = None @@ -27,8 +28,6 @@ class ItSyndikatBot: session_stored_file="", ) - self.its_api = ItSyndikatApi(config) - self.bot = botlib.Bot(creds) self.bot.listener.on_message_event(self.on_message)