aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic_bot.py')
-rw-r--r--examples/basic_bot.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/basic_bot.py b/examples/basic_bot.py
index b43062d6..d350401e 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()