Skip to main content

Class: GuildBan

Hierarchy

  • Base

    GuildBan

Constructors

constructor

new GuildBan(app, «destructured»)

Parameters

NameType
appApp
«destructured»Object
› guildGuild
› rawAPIBan

Overrides

Base.constructor

Defined in

packages/disploy/src/structs/GuildBan.ts:23

Properties

app

app: App

Inherited from

Base.app

Defined in

packages/disploy/src/structs/Base.ts:4


guild

guild: Guild

The guild this ban belongs to.

Defined in

packages/disploy/src/structs/GuildBan.ts:11


reason

reason: null | string

The reason for this ban.

Defined in

packages/disploy/src/structs/GuildBan.ts:21


user

user: User

The user this ban belongs to.

Defined in

packages/disploy/src/structs/GuildBan.ts:16