diff options
| author | pikaninja <[email protected]> | 2021-04-09 15:05:33 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-09 18:05:33 -0400 |
| commit | 1952060e1af7224ed7b67bc957e47247f6b50493 (patch) | |
| tree | 3f24fb4f37ac1a83aa02b50bca9b22dbf75fc3a1 /examples/reply.py | |
| parent | Remove user token warning in login (diff) | |
| download | discord.py-1952060e1af7224ed7b67bc957e47247f6b50493.tar.xz discord.py-1952060e1af7224ed7b67bc957e47247f6b50493.zip | |
make examples on_ready consistent
Diffstat (limited to 'examples/reply.py')
| -rw-r--r-- | examples/reply.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/reply.py b/examples/reply.py index 5ea764a1..b35ac669 100644 --- a/examples/reply.py +++ b/examples/reply.py @@ -2,9 +2,7 @@ import discord 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): |