Handle Subcommands in SubcommandGroups
Hello,
I'm working with SubcommandGroups atm and I'm trying to figure out how I can handle SubcommandGoups aswell.
The issue is that I'm loading my commands and Subcommands into collections as every bot tutorial tells you to.
Now I have
Does it make sense to store them as an object? Like
I'm working with SubcommandGroups atm and I'm trying to figure out how I can handle SubcommandGoups aswell.
The issue is that I'm loading my commands and Subcommands into collections as every bot tutorial tells you to.
Now I have
client.slashCommands and client.subcommands as collections for my commands. Now, how do I properly manage subcommandgroups in there as well so that it's still clear to what subcommand they belong?Does it make sense to store them as an object? Like