aboutsummaryrefslogtreecommitdiff
path: root/examples/guessing_game.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guessing_game.py')
-rw-r--r--examples/guessing_game.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/guessing_game.py b/examples/guessing_game.py
index 7620d7af..c96a18e3 100644
--- a/examples/guessing_game.py
+++ b/examples/guessing_game.py
@@ -4,9 +4,7 @@ import asyncio
class MyClient(discord.Client):
async def on_ready(self):
- print('Logged in as')
- print(self.user.name)
- print(self.user.id)
+ print(f'Logged in as {self.user} (ID: {self.user.id})')
print('------')
async def on_message(self, message):