aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_voice.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-08 06:02:47 -0400
committerRapptz <[email protected]>2021-04-08 06:02:47 -0400
commit99fc9505107183faa59aad9e7753f293eba88836 (patch)
treef615ac678c5dc194fd2aa3a9a048a188b761b0d9 /examples/basic_voice.py
parentUpdate joined command in basic_bot to use f-strings (diff)
downloaddiscord.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.py2
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))