diff options
| author | pikaninja <[email protected]> | 2021-06-27 20:59:17 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-27 23:59:17 -0400 |
| commit | caa9512a8a2ebfcf6d75a4a1059de155a4ec967b (patch) | |
| tree | c98e8b15d7ef0c0770dcae8d3b44455dc37be3a5 /examples/basic_voice.py | |
| parent | Add support for sending multiple embeds (diff) | |
| download | discord.py-caa9512a8a2ebfcf6d75a4a1059de155a4ec967b.tar.xz discord.py-caa9512a8a2ebfcf6d75a4a1059de155a4ec967b.zip | |
Make on_ready examples consistent
Diffstat (limited to 'examples/basic_voice.py')
| -rw-r--r-- | examples/basic_voice.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/basic_voice.py b/examples/basic_voice.py index ccb01044..9f47c77a 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)) |