Table of Contents

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 ulong

The id of the guild the application command is in.

commandId ulong

The id of the command to edit.

action Action<ApplicationCommandEditModel>

Action to perform.

Returns

Task<DiscordApplicationCommand>

The edited command.