The server the ban belongs to.
The raw data of the server ban.
Whether to cache the server ban.
Readonly clientThe client the data model belongs to.
Readonly createdThe date the ban was created.
Readonly createdThe ID of the user that created the ban.
Readonly idThe ID of the structure.
Readonly rawThe raw data of the server ban.
Optional Readonly reasonThe reason of the ban.
Readonly serverThe server the ban belongs to.
Readonly 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