Method GetApplicationCommandsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetApplicationCommandsAsync(CancellationToken)
Gets all the application commands in this guild.
public Task<IReadOnlyList<DiscordApplicationCommand>> GetApplicationCommandsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<IReadOnlyList<DiscordApplicationCommand>>
A list of application commands in this guild.