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