import { Cache } from "https://deno.land/x/denocordts@1.2.0/src/cache/mod.ts";
Methods
addChannelToCache(channel: Channel)
Add a channel to the cache.
addEmojiToCache(emojiId: string, emoji: GuildEmoji)
Add an emoji to the cache.
addGuildToCache(guildId: string, guildPayload: APIGuild)
Add a guild to the cache.
addRoleToCache(roleId: string, role: Role)
Add a role to the cache.
addUserToCache(userId: string, userPayload: Camelize<UserClass>)
Add a User to the cache.
getChannel(channelId: string)
getEmoji(emojiId: string)
getGuild(guildId: string)
getRole(roleId: string)
getUser(userId: string)