Skip to main content
Module

x/revoltio/mod.ts>Server

No-nonsense Revolt library for nodejs and deno.
Latest
class Server
extends Base
Re-export
import { Server } from "https://deno.land/x/revoltio@v1.0.0/mod.ts";

Constructors

new
Server(client: Client, data: API.Server)

Properties

analytics: boolean
banner: Attachment | null
categories: Collection<string, Category>
readonly
createdAt: Date
readonly
createdTimestamp: number
description: string | null
discoverable: boolean
icon: Attachment | null
readonly
me: ServerMember | null
name: string
nsfw: boolean
readonly
owner: User | null
ownerId: string
permissions: ServerPermissions

Methods

protected
_patch(data: API.Server, clear?: API.FieldsServer[]): this
ack(): Promise<void>
bannerURL(options?: { size: number; }): string | null
delete(): Promise<void>
iconURL(options?: { size: number; }): string | null
toString(): string