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?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
S-IaF
Sapphire - Imagine a Framework
Sapphire is a next-gen object-oriented Discord.js bot framework.