[NFC] reorder initializations
This commit is contained in:
parent
834ea75fd8
commit
4577da72d5
1 changed files with 1 additions and 2 deletions
|
@ -17,6 +17,7 @@ class ItSyndikatBot:
|
||||||
|
|
||||||
def __init__(self, config: Config):
|
def __init__(self, config: Config):
|
||||||
self.config = config
|
self.config = config
|
||||||
|
self.its_api = ItSyndikatApi(config)
|
||||||
|
|
||||||
self.current_open_state = None
|
self.current_open_state = None
|
||||||
|
|
||||||
|
@ -27,8 +28,6 @@ class ItSyndikatBot:
|
||||||
session_stored_file="",
|
session_stored_file="",
|
||||||
)
|
)
|
||||||
|
|
||||||
self.its_api = ItSyndikatApi(config)
|
|
||||||
|
|
||||||
self.bot = botlib.Bot(creds)
|
self.bot = botlib.Bot(creds)
|
||||||
|
|
||||||
self.bot.listener.on_message_event(self.on_message)
|
self.bot.listener.on_message_event(self.on_message)
|
||||||
|
|
Loading…
Reference in a new issue