Method GetGlobalApplicationCommandAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.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.