Whether this object exists
Whether analytics are enabled for this server
URL to the server's animated icon
Banner
URL to the server's banner
Channel IDs
Channels
Time when this server was created
Default channel for this server
Default permissions
Description
Whether this server is publicly discoverable
Server flags
Icon
URL to the server's icon
Whether this server is marked as mature
Own member object for this server
Find all message IDs of unread messages
Array of message IDs which are unread
Name
Get an array of ordered categories with their respective channels.
Uncategorised channels are returned in id="default"
category.
Get an ordered array of roles with their IDs attached. The highest ranking roles will be first followed by lower ranking roles. This is dictated by the "rank" property which is smaller for higher priority roles.
Owner
Owner's user ID
Permission the currently authenticated user has against this server
Roles
System message channels
Optional
user_banned?: null | stringOptional
user_joined?: null | stringOptional
user_kicked?: null | stringOptional
user_left?: null | stringCheck whether the server is currently unread
Whether the server is unread
Delete the underlying server
Optional
leaveEvent: booleanWhether we are leaving
Mark a server as read
Ban user from this server
User
Ban options
Optional
reason?: null | stringCreate a channel
Channel create route data
Optional
description?: null | stringOptional
nsfw?: null | booleanOptional
type?: "Text" | "Voice"The newly-created channel
Create an emoji on the server
Autumn Id
Options
Create role
Role name
Delete or leave a server
Optional
leaveSilently: booleanWhether to not send a message on leave
Delete emoji
Emoji ID
Delete role
Role ID
Edit a server
Changes
Optional
analytics?: null | booleanWhether analytics should be collected for this server
Must be enabled in order to show up on Revolt Discover.
Optional
banner?: null | stringOptional
categories?: null | { channels: string[]; id: string; title: string }[]Optional
description?: null | stringOptional
discoverable?: null | booleanWhether this server is public and should show up on Revolt Discover
Optional
flags?: null | numberFormat: int32
Optional
icon?: null | stringOptional
name?: null | stringOptional
remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]Optional
system_messages?: Edit a role
Role ID
Role editing route data
Optional
colour?: null | stringOptional
hoist?: null | booleanOptional
name?: null | stringOptional
rank?: null | numberFormat: int64
Optional
remove?: null | "Colour"[]Fetch a server member
User
Server member object
Fetch a server's members
List of the server's members and their user objects
Helper function to retrieve cached server member by their ID in this server
User's ID
Server Member (if cached)
Check whether we have a given permission in a server
Permission Names
Whether we have this permission
Check whether we have at least one of the given permissions in a server
Permission Names
Whether we have one of the permissions
Query members from a server by name
Name
List of the server's members and their user objects
Reset member sync status
Set role permissions
Role Id, set to 'default' to affect all users
Permission value
Format: uint64
Format: uint64
Optimised member fetch route
Optional
excludeOffline: booleanConvert to string
String
Server Class