Method CreateGuildApplicationCommandAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
CreateGuildApplicationCommandAsync(ulong, DiscordApplicationCommand)
Creates or overwrites a guild application command.
public Task<DiscordApplicationCommand> CreateGuildApplicationCommandAsync(ulong guildId, DiscordApplicationCommand command)
Parameters
guildId
ulongThe id of the guild to create the application command in.
command
DiscordApplicationCommandThe command to create.
Returns
- Task<DiscordApplicationCommand>
The created command.