Class OverwriteOptions
A set of parameters defining a permission overwrite.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class OverwriteOptions
Constructors
| Name | Description |
|---|---|
| OverwriteOptions(Snowflake, DiscordOverwriteType) |
Properties
| Name | Description |
|---|---|
| Allow | Gets or sets the allowed permissions to overwrite. |
| Deny | Gets or sets the denied permissions to overwrite. |
| Id | Gets the ID of the role or user that this overwrites. |
| Type | Gets the type the overwrite affects. |
Methods
| Name | Description |
|---|---|
| SetAllowedPermissions(DiscordPermission) | Sets the allowed permissions to overwrite. |
| SetDeniedPermissions(DiscordPermission) | Sets the denied permissions to overwrite. |