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
ulongThe ID of the command to get.
Returns
- Task<DiscordApplicationCommand>
The command with the ID.