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