Optional Readonly aboutThe description of the server.
Optional Readonly avatarThe avatar of the server.
Optional Readonly bannerThe banner of the server.
Readonly bansThe manager of bans that belong to the server.
Readonly clientThe client the data model belongs to.
Readonly createdThe date the server was created.
Optional Readonly defaultThe ID of the server's default channel.
Readonly idThe ID of the structure.
Optional Readonly isWhether the server is verified.
Readonly membersThe manager of members that belong to the server.
Readonly nameThe name of the server.
Readonly ownerThe ID of the user the server belongs to.
Readonly rawThe raw data of the server.
Readonly rolesThe manager of roles that belong to the server.
Optional Readonly timezoneThe timezone of the server.
Optional Readonly typeThe type of the server.
Optional Readonly urlThe vanity URL of the server.
Whether the server is cached.
Whether the server is a clan server.
Whether the server is a community server.
Whether the server is a friends server.
Whether the server is a guild server.
Whether the server is a organization server.
Whether the server is a other type.
Whether the server is a streaming server.
Whether the server is a team server.
The server member the server belongs to.
Create a channel in the server.
The created channel.
server.createChannel({ name: 'Chat', type: 'chat' });
The payload of the channel.
Fetch the server.
The fetched server.
server.fetch();
Optional options: FetchOptionsThe options to fetch the server with.
Fetch the server's default channel.
The fetched channel.
server.fetchDefaultChannel();
Optional options: FetchOptionsThe options to fetch the channel with.
Fetch the server member the server belongs to.
The fetched server member.
server.fetchOwner();
Optional options: FetchOptionsThe options to fetch the server member with.
Represents a server on Guilded.
Example