Skip to content

Commit c6e523e

Browse files
fix: adjust command error output
1 parent e9b1401 commit c6e523e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitcord/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async def on_command_error(self, context, error): # pylint: disable=arguments-d
5656
"""Global command error handler."""
5757
logger.error("Global command error: %s", error)
5858
if isinstance(error, commands.CommandNotFound):
59-
await context.send("Command not found. Try `!hello` or `!ping`!")
59+
await context.send("Command not found. Try `!help` or `!ping`!")
6060
elif isinstance(error, commands.MissingPermissions):
6161
await context.send("You don't have permission to use this command!")
6262
elif isinstance(error, commands.CommandError):

0 commit comments

Comments
 (0)