Skip to content

DiscordGuildBan

The DiscordGuildBan class provides a way for developers to interact with guild bans.

Properties

user

DiscordGuildBan.user  :: Objects.DiscordUser

reason

DiscordGuildBan.reason  :: string?

type

DiscordGuildBan.type  :: string

The type of the DiscordGuildBan. Default is “DiscordGuildBan”.

Methods

The DiscordGuildBan instance has no set methods!

Functions

new

DiscordGuildBan . new ()  -> ()

Creates a new DiscordGuildBan instance.