UNPKG

guilded.ts

Version:

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

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