Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command description #296

Closed
SkytAsul opened this issue Jun 25, 2021 · 2 comments
Closed

Command description #296

SkytAsul opened this issue Jun 25, 2021 · 2 comments

Comments

@SkytAsul
Copy link
Contributor

Is your feature request related to a problem? Please describe.
There is no way to put a command description when registering a command through chimera. When using /help, the command appears with no description.

Describe the solution you'd like
A way to register a command description.

@Pante
Copy link
Owner

Pante commented Jun 25, 2021

It has been on the back-burner for a long time now and kinda slipped my mind. The implementation I had in mind was to provide an additional description field in Literal and Argument, falling back to the usage text in the case where a LiteralCommandNode or ArgumentCommandNode is used (since Brigadier's CommandNodes do not contain descriptions). Does this satisfy your use-case?

@SkytAsul
Copy link
Contributor Author

Yes, awesome!

@Pante Pante closed this as completed in 4fff6c2 Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants