Remove the author name from hello.error function

This commit is contained in:
deflax 2025-02-06 01:21:50 +00:00
parent 98efbdb0fd
commit 51ed73c996

View file

@ -55,8 +55,7 @@ async def hello(ctx):
@hello.error
async def hello_error(ctx, error):
if isinstance(error, CheckFailure):
author_name = ctx.author.name
await ctx.channel.send(f'do I know you, `{author_name}`?')
await ctx.channel.send('do I know you?')
@bot.command(name='time', help='Show current time')
async def time(ctx):