Use f-strings in more places that were missed

This commit is contained in:
Sebastian Law
2021-04-08 06:31:06 -07:00
committed by GitHub
parent 99fc950510
commit 05c123f3ab
7 changed files with 19 additions and 18 deletions

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)