Method CreateApplicationCommandAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.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.