Table of Contents

Method GetGuildApplicationCommandAsync

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