Subcommands allow you to have multiple commands available in a single command. They can be useful for representing sub options for a command. for example: a settings command. Let's first look at some limitations with subcommands set by discord.
Subcommands allow you to have multiple commands available in a single command. They can be useful for representing sub options for a command. For example: A settings command. Let's first look at some limitations with subcommands set by discord.
- An app can have up to 25 subcommand groups on a top-level command
- An app can have up to 25 subcommands within a subcommand group
@@ -132,7 +132,7 @@ public async Task Client_Ready()
All that code generates a command that looks like this:

Now that we have our command made, we need to handle the multiple options with this command. so lets add this into our handler
Now that we have our command made, we need to handle the multiple options with this command. So lets add this into our handler: