mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
@ -40,7 +40,7 @@ async def userinfo_error(ctx: commands.Context, error: commands.CommandError):
|
||||
# If the conversion above fails for any reason, it will raise `commands.BadArgument`
|
||||
# so we handle this in this error handler:
|
||||
if isinstance(error, commands.BadArgument):
|
||||
return await ctx.send('Couldn\'t find that user.')
|
||||
return await ctx.send("Couldn't find that user.")
|
||||
# The default `on_command_error` will ignore errors from this command
|
||||
# because we made our own command-specific error handler,
|
||||
# so we need to log tracebacks ourselves.
|
||||
|
Reference in New Issue
Block a user