Print username on on_ready

This commit is contained in:
norohind 2022-03-28 23:31:05 +03:00
parent 717c750bb6
commit 9976bfded5
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -32,7 +32,7 @@ class DiscordTTSBot(commands.Bot, Observ.Subject):
asyncio.create_task(self.close())
async def on_ready(self):
logger.debug('Bot is ready')
logger.debug(f'Bot is ready: {self.user.name}')
async def on_message(self, message: discord.Message) -> None:
if message.guild is None: