Discore
Show / Hide Table of Contents

Class OverwriteOptions

A set of parameters defining a permission overwrite.

Inheritance
object
OverwriteOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX