From c00c4dedff73816c1b63fefa10d81ae9b42ddea0 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 5 Feb 2025 22:33:23 +0000 Subject: [PATCH] Fix the f-string syntaxerror --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 966090f..9958f40 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -54,7 +54,7 @@ async def hello(ctx): async def hello_error(ctx, error): if isinstance(error, CheckFailure): author_name = ctx.author.name - await ctx.channel.send(f'do I know you, `{}`?') + await ctx.channel.send(f'do I know you, `{author_name}`?') @bot.command(name='epg', help='Lists scheduled streams') async def epg(ctx):