Method CreateApplicationCommandAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
CreateApplicationCommandAsync(DiscordApplicationCommand)
Creates or overwrites a application command in this guild.
public Task<DiscordApplicationCommand> CreateApplicationCommandAsync(DiscordApplicationCommand command)
Parameters
command
DiscordApplicationCommandThe command to create.
Returns
- Task<DiscordApplicationCommand>
The created command.