mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 01:45:32 +00:00
Fix usage not showing command name
This commit is contained in:
parent
3ed010a4ce
commit
527f55e6dd
|
@ -170,7 +170,7 @@ async def on_command_error(ctx, error):
|
||||||
# Nothing to do when command is not found.
|
# Nothing to do when command is not found.
|
||||||
return
|
return
|
||||||
|
|
||||||
help_text = f"Usage of this command is: ```{ctx.prefix}"\
|
help_text = f"Usage of this command is: ```{ctx.prefix}{ctx.command.name} "\
|
||||||
f"{ctx.command.signature}```\nPlease see `{ctx.prefix}help "\
|
f"{ctx.command.signature}```\nPlease see `{ctx.prefix}help "\
|
||||||
f"{ctx.command.name}` for more info about this command."
|
f"{ctx.command.name}` for more info about this command."
|
||||||
if isinstance(error, commands.BadArgument):
|
if isinstance(error, commands.BadArgument):
|
||||||
|
|
Loading…
Reference in a new issue