coala / coala/corobo

Command "command" not found.

Open
#356 20 comments 0 reactions 1 assignee Claimed by @Vamshi99 View on GitHub
area/ui bug type/regex
Dominant language
Python
Stars
67
Forks
98
PR merge metrics
No merged PRs in 30d

Description

We are regularly seeing `Command "foo" not found.` when the person correctly did `corobo foo ...`.
They used the wrong arguments, but the error returned is confusing.
It should tell them they gave the foo command the wrong arguments, and possible even force feed them the help in a DM to help them use the bot properly.

What is happening is that corobo is not doing partial matches on only the command, but the error is saying that it cant match the command.

```
> corobo lmgtfy
@co-robo: Command "lmgtfy" not found.
> corobo lmgtfy foo
Hey! You seem to ...
```

`lmgtfy` was the command in normal parlance. `foo` is a parameter, or argument, etc.
The error message is wrong, and unhelpful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.