Skip to content

GuildBan

Represents a ban for a user in a guild.

Kind: global class
Extends: Base

ParamTypeDescription
dataObjectThe data for the ban.
guildIdstringThe ID of the guild.
clientClientThe instantiating client

Whether or not the ban is partial.

Kind: instance property of GuildBan

The reason for the ban.

Kind: instance property of GuildBan

The user who was banned.

Kind: instance property of GuildBan

The ID of the guild the ban was issued in.

Kind: instance property of GuildBan

The guild that this ban was issued in.

Kind: instance property of GuildBan
Read only: true

Fetches this ban from the API.

Kind: instance method of GuildBan

ParamTypeDescription
[options]ObjectAdditional options for the fetch.

Fetches this ban from the API.

Kind: instance method of GuildBan

ParamTypeDescription
[options]ObjectAdditional options for the fetch.