Represents a server ban on Guilded.

Example

new ServerBan(server, rawBan);

Hierarchy

Constructors

Properties

client: Client

The client the data model belongs to.

createdAt: Date

The date the ban was created.

createdBy: string

The ID of the user that created the ban.

id: string

The ID of the structure.

The raw data of the server ban.

reason?: string

The reason of the ban.

server: Server

The server the ban belongs to.

user: User

The user the ban belongs to.

Accessors

Methods