Create generic class collection
Client
Private #objectsPrivate #storageReadonly clientReadonly getReadonly updateCreate a new instance of an object
Id
Type
Instance
Context
Optional data: unknownData
Create a server
Server options
Optional description?: null | stringServer description
Server name
Optional nsfw?: null | booleanWhether this server is age-restricted
The newly-created server
Get or create
Id
Data
Unique Id
Optional analytics?: booleanWhether to enable analytics
Optional banner?: null | { Banner attachment
Optional categories?: null | { Categories for this server
Channels within this server
Format: int64
Default set of server and channel permissions
Optional description?: null | stringDescription for the server
Optional discoverable?: booleanWhether this server should be publicly discoverable
Optional flags?: numberFormat: uint32
Bitfield of server flags
Optional icon?: null | { Icon attachment
Name of the server
Optional nsfw?: booleanWhether this server is flagged as not safe for work
User id of the owner
Optional roles?: { Roles for this server
Optional system_Configuration for sending system event messages
Whether this object is new
Map the collection using a given callback
Callback
Generated using TypeDoc
Collection of Servers