UNPKG

@zikeji/hypixel

Version:

With IntelliSense support & test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses, built-in rate-limit handling, flexible

22 lines (21 loc) 705 B
import { Method } from "../../util/Method"; import { ResultObject } from "../../util/ResultObject"; import type { ResourcesGuildsAchievementsResponse } from "../../types/AugmentedTypes"; /** * @example * ```typescript * const achievements = await client.resources.guilds.achievements(); * ``` * @category Client */ export declare class GuildsResources extends Method { /** * Retrieve a list of achievements a Hypixel guild can accomplish. * @example * ```typescript * const achievements = await client.resources.guilds.achievements(); * ``` * @category API */ achievements(): Promise<ResultObject<ResourcesGuildsAchievementsResponse, ["achievements"]>>; }