The server router for the Guilded REST API.

Example

new ServerRouter(rest);

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Fetch a server from Guilded.

    Returns

    The fetched server.

    Example

    servers.fetch('abc');
    

    Parameters

    • serverId: string

      The ID of the server to fetch.

    Returns Promise<APIServer>