Improved logging

This commit is contained in:
2021-11-16 11:41:34 +01:00
parent 16546b4d3c
commit 2176037d08
7 changed files with 38 additions and 13 deletions

View File

@@ -27,9 +27,11 @@ class BotService(BotServiceABC, commands.Bot):
# continue at on_ready
async def on_ready(self):
self._logger.info(__name__, 'Connected to discord')
await self._modules.start_modules()
async def stop_async(self):
self._logger.debug(__name__, f'Try to stop {BotService}')
try:
pass
# save data