Method EditGuildApplicationCommandAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
EditGuildApplicationCommandAsync(ulong, ulong, Action<ApplicationCommandEditModel>)
Edits a application command in a guild.
public Task<DiscordApplicationCommand> EditGuildApplicationCommandAsync(ulong guildId, ulong commandId, Action<ApplicationCommandEditModel> action)
Parameters
guildId
ulongThe ID of the guild the application command is in.
commandId
ulongThe ID of the command to edit.
action
Action<ApplicationCommandEditModel>Action to perform.
Returns
- Task<DiscordApplicationCommand>
The edited command.