You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This arose from discussion with @Faithcaio - basically the exception messages returned from commands that aren't parsed correctly is... bad.
Currently, if you type in a command and it doesn't parse correctly, it states that it is an unknown command. Plugin developers might want return a better message that might display the usage (as an example) if their command is called incorrectly.
I will likely want to add a way to attach a UnknownCommandHandler (name pending) on the Command.Builder object that gets the partial command context and command string - but I do need to think about this a little more.
The text was updated successfully, but these errors were encountered:
This arose from discussion with @Faithcaio - basically the exception messages returned from commands that aren't parsed correctly is... bad.
Currently, if you type in a command and it doesn't parse correctly, it states that it is an unknown command. Plugin developers might want return a better message that might display the usage (as an example) if their command is called incorrectly.
I will likely want to add a way to attach a
UnknownCommandHandler
(name pending) on theCommand.Builder
object that gets the partial command context and command string - but I do need to think about this a little more.The text was updated successfully, but these errors were encountered: