diff --git a/token_bot/core.py b/token_bot/core.py index 62b0c39..e527aab 100644 --- a/token_bot/core.py +++ b/token_bot/core.py @@ -1,3 +1,5 @@ +import logging + import aiohttp from interactions import Extension from interactions import slash_command, listen @@ -16,8 +18,8 @@ class Core(Extension): @listen(Startup) async def on_start(self): - print("TokenBot Core ready") - print(f"This is bot version {VERSION}") + self.bot.logger.log(logging.INFO,"TokenBot Core ready") + self.bot.logger.log(logging.INFO,f"This is bot version {VERSION}") self._tdb = tdb.Database(aiohttp.ClientSession()) @slash_command()