Table of Contents

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

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<IReadOnlyList<DiscordApplicationCommand>>

A list of application commands in this guild.