import { type BasicCache } from "https://deno.land/x/hypixel@v3.1.1/index.ts";
If you want built in caching, implementing these methods (or utilitizing an library that includes these methods) is a must. Refer to the cache guide.
Methods
get<T extends Components.Schemas.ApiSuccess>(key: string): Promise<(T & DefaultMeta) | undefined>
set<T extends Components.Schemas.ApiSuccess>(key: string, value: T & DefaultMeta): Promise<void>