import { Channel, Guild, Member, Message } from "../structures/structures.ts"; import { PresenceUpdatePayload } from "../types/types.ts"; import { Collection } from "./collection.ts"; export interface CacheData { isReady: boolean; guilds: Collection; channels: Collection; messages: Collection; members: Collection; unavailableGuilds: Collection; presences: Collection; fetchAllMembersProcessingRequests: Collection; } export const cache: CacheData = { isReady: false, guilds: new Collection(), channels: new Collection(), messages: new Collection(), members: new Collection(), unavailableGuilds: new Collection(), presences: new Collection(), fetchAllMembersProcessingRequests: new Collection(), };