Optional
analytics?: booleanWhether to enable analytics
Optional
banner?: { Banner attachment
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_Optional
categories?: { Categories for this server
Channels within this server
Format: int64
Default set of server and channel permissions
Optional
description?: stringDescription for the server
Optional
discoverable?: booleanWhether this server should be publicly discoverable
Optional
flags?: numberFormat: int32
Bitfield of server flags
Optional
icon?: { Icon attachment
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_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
Optional
user_ID of channel to send user banned messages in
Optional
user_ID of channel to send user join messages in
Optional
user_ID of channel to send user kicked messages in
Optional
user_ID of channel to send user left messages in
Protected
_idOriginal API object.
Optional
user_ID of channel to send user banned messages in
Optional
user_ID of channel to send user join messages in
Optional
user_ID of channel to send user kicked messages in
Optional
user_ID of channel to send user left messages in
Edit this server.
Optional
analytics?: booleanWhether analytics should be collected for this server
Must be enabled in order to show up on Revolt Discover.
Optional
banner?: stringAttachment Id for banner
Optional
categories?: { Category structure for server
Optional
description?: stringServer description
Optional
discoverable?: booleanWhether this server is public and should show up on Revolt Discover
Optional
flags?: numberFormat: int32
Bitfield of server flags
Optional
icon?: stringAttachment Id for icon
Optional
name?: stringServer name
Optional
remove?: ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]Fields to remove from server object
Optional
system_System message configuration
Optional
user_ID of channel to send user banned messages in
Optional
user_ID of channel to send user join messages in
Optional
user_ID of channel to send user kicked messages in
Optional
user_ID of channel to send user left messages in
Fetch bans for this server.
Fetch invites for this server.
Rest
...args: AttachmentArgsRest
...args: AttachmentArgsGets an array of mentioned message IDs.
Test if this server is unread.
Stops listening for Map updates.
this
, useful for chaining.
The callback to stop listening for updates on.
Listen for an update to this Map.
this
, useful for chaining.
The callback to run when an update occurs.
Set permissions for a role id or 'default'.
Format: uint64
Allow bit flags
Format: uint64
Disallow bit flags
Update this object with new API data.
Description
Unique Id