Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ban<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

Readonly client

client: T

deleted

deleted: boolean = false

If the ban has been removed.

since

0.0.1

Readonly guild

guild: Guild

The guild this ban is from.

since

0.0.1

Readonly id

id: string

The user's ID that got banned.

since

0.0.1

Readonly reason

reason: string | null

The reason for the ban.

since

0.0.1

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

user

  • get user(): User | null

Methods

Protected _patch

  • _patch(): this

clone

  • clone(): this

delete

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

toJSON

  • toJSON(): Record<string, any>

valueOf

  • valueOf(): string

Generated using TypeDoc