Use f-strings in more places that were missed

This commit is contained in:
Sebastian Law
2021-04-08 09:31:06 -04:00
committed by GitHub
parent 99fc950510
commit 05c123f3ab
7 changed files with 19 additions and 18 deletions
+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)