PermissionOverwrite is used to represent data about permission overwrites for roles or users in channels.
String, the ID of the PermissionOverwrite. If overwrite.type
is role
, this is the role's ID. Otherwise, it is a User overwrite.
String, type of the overwrite. Either member
or role
.
Returns the permissions explicitly allowed by the overwrite. An Array of Strings, which are names of permissions. More can be found at Permission Constants
Returns the permissions explicitly denied by the overwrite. An Array of Strings, which are names of permissions. More can be found at Permission Constants