Files
discordeno/utils/cache.ts
2020-03-06 12:10:35 -05:00

12 lines
374 B
TypeScript

import { User } from "../structures/user.ts";
import { Guild, Channel } from "../types/return-type.ts";
import { Message } from "../structures/message.ts";
export const cache = {
guilds: new Map<string, Guild>(),
users: new Map<string, User>(),
channels: new Map<string, Channel>(),
messages: new Map<string, Message>(),
unavailableGuilds: new Map<string, number>()
}