Method CreateGuildApplicationCommandAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.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.