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
@@ -338,7 +338,7 @@ Converters
@commands.command()
async def test(ctx, numbers: Greedy[int], reason: str):
await ctx.send("numbers: {}, reason: {}".format(numbers, reason))
await ctx.send(f"numbers: {numbers}, reason: {reason}")
An invocation of ``[p]test 1 2 3 4 5 6 hello`` would pass ``numbers`` with
``[1, 2, 3, 4, 5, 6]`` and ``reason`` with ``hello``\.