Interface Options

Client configuration options

interface Options {
    authentication: {
        headers?: Record<string, any>;
        rauth?: string;
        revolt?: string | { token: string };
    };
    baseURL: string;
    headers?: Record<string, any>;
}

Properties

authentication: {
    headers?: Record<string, any>;
    rauth?: string;
    revolt?: string | { token: string };
}

Authentication used for requests

baseURL: string

Base URL of the Revolt node

headers?: Record<string, any>

Additional headers to apply to requests