Table of Contents

Method GetGlobalApplicationCommandAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

GetGlobalApplicationCommandAsync(ulong)

Gets a global application command by its ID.

public Task<DiscordApplicationCommand> GetGlobalApplicationCommandAsync(ulong commandId)

Parameters

commandId ulong

The ID of the command to get.

Returns

Task<DiscordApplicationCommand>

The command with the ID.