PermissionOverwrite

Inherits: DiscordEntity < Reference < Object

Description

Holds permissions of a role or member on a channel-level.

Properties

type name
int type
BitFlag allow
BitFlag deny

Constants

  • Dictionary Type

    • ROLE = 0

    • MEMBER = 1

    Overwrite target.

Property Descriptions

  • int type

    Overwrite target type, can be either Type.ROLE or Type.MEMBER.


  • BitFlag allow

    Allowed permissions.


  • BitFlag deny

    Denied permissions.