2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-22 10:09:40 +00:00

make logs more consistent

This commit is contained in:
Nick80835 2023-05-29 10:53:04 -04:00
parent 300ccd9e31
commit 42ccbfd1c4

View File

@ -34,9 +34,9 @@ class MicroBot():
async def run_until_done(self):
self.loader.load_all_modules()
self.logger.info("Client successfully started.")
self.logger.info("Bot successfully started.")
await self.client.run_until_disconnected()
await self.stop_client(reason="Client disconnected.")
await self.stop_client(reason="Bot disconnected.")
def _check_config(self):
api_key = self.settings.get_config("api_key")