Table of Contents

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 ulong

The id of the command to edit.

action Action<ApplicationCommandEditModel>

Action to perform.

Returns

Task<DiscordApplicationCommand>

The edited command.