mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
fix: send correct error message if a parsed command is not implemented, etc
This commit is contained in:
parent
2027da40ad
commit
1a781014bd
7 changed files with 31 additions and 33 deletions
|
|
@ -93,7 +93,7 @@ fn parse_command(input: String) -> CommandResult {
|
|||
// todo: check if last token is a common incorrect unquote (multi-member names etc)
|
||||
// todo: check if this is a system name in pk;s command
|
||||
return CommandResult::Err {
|
||||
error: "Command not found.".to_string(),
|
||||
error: format!("Unknown command `{input}`. For a list of possible commands, see <https://pluralkit.me/commands>."),
|
||||
};
|
||||
}
|
||||
Err(Some(short_circuit)) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue