diff options
Diffstat (limited to 'examples/basic_bot.py')
| -rw-r--r-- | examples/basic_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic_bot.py b/examples/basic_bot.py index 409d4c4a..1d8928bf 100644 --- a/examples/basic_bot.py +++ b/examples/basic_bot.py @@ -61,7 +61,7 @@ async def cool(ctx): In reality this just checks if a subcommand is being invoked. """ if ctx.invoked_subcommand is None: - await ctx.send('No, {0.subcommand_passed} is not cool'.format(ctx)) + await ctx.send(f'No, {ctx.subcommand_passed} is not cool') @cool.command(name='bot') async def _bot(ctx): |