Improved logging
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user