The server the ban belongs to.
The raw data of the server ban.
Optional cache: booleanWhether to cache the server ban.
Readonly clientReadonly createdThe date the ban was created.
Readonly createdThe ID of the user that created the ban.
Readonly idReadonly rawOptional Readonly reasonThe reason of the ban.
Readonly serverReadonly userThe user the ban belongs to.
The timestamp the ban was created.
Whether the server ban is cached.
Fetch the server ban.
The fetched server ban.
ban.fetch();
Optional options: FetchOptionsThe options to fetch the server ban with.
Fetch the server member that created the ban.
The fetched server member.
ban.fetchAuthor();
Optional options: FetchOptionsThe options to fetch the server member with.
Represents a server ban on Guilded.
Example