UNPKG

guilded.ts

Version:

A powerful NPM module that allows you to easily interact with the Guilded API.

20 lines 793 B
import { BaseManager, FetchOptions } from '../BaseManager'; import { Client } from '../../structures/Client'; import { Server } from '../../structures/server/Server'; /** * The manager of servers that belong to the client. * @example new ServerManager(client); */ export declare class ServerManager extends BaseManager<string, Server> { /** @param client The client the servers belong to. */ constructor(client: Client); /** * Fetch a server from Guilded, or cache. * @param server The server to fetch. * @param options The options to fetch the server with. * @returns The fetched server. * @example servers.fetch(server); */ fetch(server: string | Server, options?: FetchOptions): Promise<Server>; } //# sourceMappingURL=ServerManager.d.ts.map