CommandHelp shown as parameter
- Ngôn ngữ chính
- Java
- Star
- 628
- Fork
- 150
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello,
I just use the Beta Help-system. He works perfectly nice except for one thing.
Let's considered this simple command:
```java
@HelpCommand
@Subcommand("h|help")
public static void helpContext(final CommandIssuer commandIssuer, final CommandHelp commandHelp, final @Default("1") Integer page) {
commandIssuer.sendMessage("Hi");
}
```
When I type `/guild help` (or `/guild h`), this help command is shown as a two parameter command:

This is an unexpected behavior, since this command really has only one parameter.
Exactly same as `CommandIssuer` , `CommandHelp` should be detected as a special parameter and not count on the final command.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.