[NFC] reorder initializations

This commit is contained in:
Xiretza 2022-03-29 19:29:05 +02:00
parent 834ea75fd8
commit 4577da72d5

View file

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