Table of Contents

Method GetApplicationCommandPermissionsAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetApplicationCommandPermissionsAsync(DiscordApplicationCommand)

Gets permissions for a application command in this guild.

public Task<DiscordGuildApplicationCommandPermissions> GetApplicationCommandPermissionsAsync(DiscordApplicationCommand command)

Parameters

command DiscordApplicationCommand

The command to get them for.

Returns

Task<DiscordGuildApplicationCommandPermissions>

The permissions.