Remove the author name from hello.error function
This commit is contained in:
parent
98efbdb0fd
commit
51ed73c996
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue