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