diff --git a/examples/basic_bot.py b/examples/basic_bot.py index b43062d6b..d350401eb 100644 --- a/examples/basic_bot.py +++ b/examples/basic_bot.py @@ -16,9 +16,7 @@ bot = commands.Bot(command_prefix='?', description=description, intents=intents) @bot.event async def on_ready(): - print('Logged in as') - print(bot.user.name) - print(bot.user.id) + print(f'Logged in as {bot.user} (ID: {bot.user.id})') print('------') @bot.command() diff --git a/examples/basic_voice.py b/examples/basic_voice.py index ccb010448..9f47c77aa 100644 --- a/examples/basic_voice.py +++ b/examples/basic_voice.py @@ -128,9 +128,7 @@ bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"), @bot.event async def on_ready(): - print('Logged in as') - print(bot.user.name) - print(bot.user.id) + print(f'Logged in as {bot.user} (ID: {bot.user.id})') print('------') bot.add_cog(Music(bot))