Ben855 - I can't seem to get slash subcommands wor...

I can't seem to get slash subcommands working. I'm able to register them just fine but my chatInputRun methods are not running. Heres my code https://hastebin.com/enakigunaq.typescript. No errors are printed and the only relevant logs are when the command is registered I get the standard registry logs shown below.
8 Replies
Sawako
Sawako2y ago
code?
Ben
Ben2y ago
See the link above
Sawako
Sawako2y ago
SteveSubCommand extends the subcommand plugin class?
Ben
Ben2y ago
Yep
Sawako
Sawako2y ago
did you register the plugin?
Ben
Ben2y ago
Indeed I did I’m also pretty sure registering it only loads the default error listeners
Sawako
Sawako2y ago
Yes, it was to see if there was an error Can you make a reproducible?
Ben
Ben2y ago
I’ll give it a shot in the morning Got it working. It turns out the issue was because the 'HasRolePlay' precondition couldn't be found since I spelled in wrong in the file structure picardfacepalm Its interesting that it didn't log any errors though.