Table of Contents

Method GetApplicationCommandsAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetApplicationCommandsAsync(bool)

Gets all the application commands in this guild.

public Task<IReadOnlyList<DiscordApplicationCommand>> GetApplicationCommandsAsync(bool withLocalizations = false)

Parameters

withLocalizations bool

Whether to include localizations in the response.

Returns

Task<IReadOnlyList<DiscordApplicationCommand>>

A list of application commands in this guild.