brigadier-ts icon indicating copy to clipboard operation
brigadier-ts copied to clipboard

Cannot use custom messages for command errors

Open haykam821 opened this issue 1 year ago • 0 comments

Messages are restricted to strings, which differs from Brigadier, which allows for a custom Message implementation with a getString method. Therefore, users of this library cannot reference a custom message (that can be, for example, dynamically translatable) in the error handler for a CommandSyntaxError.

haykam821 avatar Feb 08 '24 20:02 haykam821