* fix error handling in subcommandPermCheck
This edit fixes the error "<subcommandName> not found on command: <commandName>." it was finding the incorrect subcommand from the list vs the command subcommands.
* fix error handling in permCheck
Errors were not being thrown in the correct manner. This edit will filter through the command subcommandgroups and subcommands to validate the listed names in the plugin. Originally, the plugin would only search for the first subcommandgroup or subcommand and try to match to an in the list.
* feat: Create subcommandPermCheck plugin
This plugin was requested to be uploaded for basic sub command permission handling. Only available for slash commands and will fault out for other command types.
* edit: resolve conflicts
Removed deconstructed interaction
Made errors more understandable
Corrected the example to use a parameter as the first object and input correct properties.
---------
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>