Use f-strings in more places that were missed

This commit is contained in:
Sebastian Law authored and GitHub committed 2021-04-08 09:31:06 -04:00
1 parent 99fc950510
commit 05c123f3ab
7 files changed
+19 -18

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ An example extension looks like this:
@commands.command()
async def hello(ctx):
await ctx.send('Hello {0.display_name}.'.format(ctx.author))
await ctx.send(f'Hello {ctx.author.display_name}.')
def setup(bot):
bot.add_command(hello)