From 527f55e6ddbb6264ac59751d031839baf7e44eb0 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 6 Nov 2019 01:59:29 +0300 Subject: [PATCH] Fix usage not showing command name --- Robocop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robocop.py b/Robocop.py index c924d4d..9acd679 100755 --- a/Robocop.py +++ b/Robocop.py @@ -170,7 +170,7 @@ async def on_command_error(ctx, error): # Nothing to do when command is not found. 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.name}` for more info about this command." if isinstance(error, commands.BadArgument):