Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Overwrite<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

allow

allow: Readonly<Permissions>

The allowed permissions in this overwrite.

since

0.0.1

Readonly channel

channel: GuildChannel

The channel this is for.

since

0.0.1

Readonly client

client: T

deleted

deleted: boolean = false

If the overwrite has been deleted.

since

0.0.1

deny

deny: Readonly<Permissions>

The denied permissions in this overwrite.

since

0.0.1

Readonly id

id: string

A Role or User id.

since

0.0.1

type

type: "role" | "member"

Either "role" or "member".

since

0.0.1

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

Methods

Protected _patch

clone

  • clone(): this

delete

  • delete(requestOptions?: RequestOptions): Promise<this>

modify

  • modify(options: Partial<OverwriteData>, requestOptions?: RequestOptions): Promise<this>

toJSON

  • toJSON(): Record<string, any>

valueOf

  • valueOf(): string

Generated using TypeDoc