Table of Contents

Method GetGuildApplicationCommandsPermissionsAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

GetGuildApplicationCommandsPermissionsAsync(ulong)

Gets all application command permissions in a guild.

public Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>> GetGuildApplicationCommandsPermissionsAsync(ulong guildId)

Parameters

guildId ulong

The guild ID.

Returns

Task<IReadOnlyList<DiscordGuildApplicationCommandPermissions>>

A list of permissions.