Table of Contents

Method GetGuildApplicationCommandAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetGuildApplicationCommandAsync(ulong, ulong)

Gets a application command in a guild by its id.

public Task<DiscordApplicationCommand> GetGuildApplicationCommandAsync(ulong guildId, ulong commandId)

Parameters

guildId ulong

The id of the guild the application command is in.

commandId ulong

The id of the command to get.

Returns

Task<DiscordApplicationCommand>

The command with the id.