big black brown man
SIASapphire - Imagine a framework
•Created by big black brown man on 6/17/2023 in #sapphire-support
How do I handle this UserError?
I've been fiddling around with the subcommands plugin and I see that it throws an error ("No subcommand was matched with the provided arguments.") every time there is not a default defined and it doesnt match with a command.
I am not trying to add a default, but I am trying to handle this error by adding a response message, e.g. "Did you mean to execute ...".
I have tried using a listener to listen to Events.Error but it never gets fired.
Is there any way I can handle this type of error?
6 replies