Represents a permission overwrite for a role or member in a guild channel.
Extends
BaseDeletes this Permission Overwrite.
Name | Type | Optional | Description |
---|---|---|---|
reason | string | Yes | Reason for deleting this overwrite |
Edits this Permission Overwrite.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | PermissionOverwriteOptions | No | The options for the update |
reason | string | Yes | Reason for creating/editing this overwrite |
Resolves an overwrite into APIOverwrite.
Name | Type | Optional | Description |
---|---|---|---|
overwrite | OverwriteResolvable | No | The overwrite-like data to resolve |
guild | Guild | No | The guild to resolve from |
Resolves bitfield permissions overwrites from an object.
Name | Type | Optional | Description |
---|---|---|---|
options | PermissionOverwriteOptions | No | The options for the update |
initialPermissions | { allow?: PermissionResolvable; deny?: PermissionResolvable } | No | The initial permissions |