Method EditApplicationCommandAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
EditApplicationCommandAsync(ulong, Action<ApplicationCommandEditModel>)
Edits a application command in this guild.
public Task<DiscordApplicationCommand> EditApplicationCommandAsync(ulong commandId, Action<ApplicationCommandEditModel> action)
Parameters
commandId
ulongThe id of the command to edit.
action
Action<ApplicationCommandEditModel>Action to perform.
Returns
- Task<DiscordApplicationCommand>
The edit command.