Table of Contents

Class DiscordApplicationCommandPermission

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a permission for a application command.

public class DiscordApplicationCommandPermission
Inheritance
object
DiscordApplicationCommandPermission

Constructors

DiscordApplicationCommandPermission(DiscordMember, bool)

Represents a permission for a application command.

DiscordApplicationCommandPermission(DiscordRole, bool)

Represents a permission for a application command.

Properties

Id

The id of the role or the user this permission is for.

Permission

Gets whether the command is enabled for the role or user.

Type

Gets the type of the permission.