Method ToApplicationCommandAsync
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
ToApplicationCommandAsync(Command)
Only use this for commands of type SlashCommand. It will cut out every subcommands which are considered to be not a SlashCommand
public ValueTask<DiscordApplicationCommand> ToApplicationCommandAsync(Command command)
Parameters
command
Command