diff options
| author | Rapptz <[email protected]> | 2021-04-08 06:02:47 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-08 06:02:47 -0400 |
| commit | 99fc9505107183faa59aad9e7753f293eba88836 (patch) | |
| tree | f615ac678c5dc194fd2aa3a9a048a188b761b0d9 /examples/basic_voice.py | |
| parent | Update joined command in basic_bot to use f-strings (diff) | |
| download | discord.py-99fc9505107183faa59aad9e7753f293eba88836.tar.xz discord.py-99fc9505107183faa59aad9e7753f293eba88836.zip | |
Use f-strings in more places that were missed.
Diffstat (limited to 'examples/basic_voice.py')
| -rw-r--r-- | examples/basic_voice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic_voice.py b/examples/basic_voice.py index 45387911..d7e82e6d 100644 --- a/examples/basic_voice.py +++ b/examples/basic_voice.py @@ -128,7 +128,7 @@ bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"), @bot.event async def on_ready(): - print('Logged in as {0} ({0.id})'.format(bot.user)) + print(f'Logged in as {bot.user} ({bot.user.id})') print('------') bot.add_cog(Music(bot)) |