I'm trying to create a command "/channellink" that links messages between text channels. The command has three options: "initiate", "terminate" and "list", but I can't seem to figure out how I'd add spaces to the command like "/channellink list". I can't add the options as choice arguments for "/channellink" because each of the 3 options has different choice arguments.
I've seen other bots like Dyno use non-choice app command options with spaces, but I can't seem to figure out how it's done (attempting to add spaces to the command name throws "String value did not match validation regex.").
Slash commands with spaces are actually subcommands. According to the nextcord documentation, subcommands can be implemented like this: