import { BadWords, GlobalModel, SharedModel, type Guild } from '#lib'; import { Collection, type Snowflake } from 'discord.js'; export class BotCache { public global = new GlobalCache(); public shared = new SharedCache(); public guilds = new GuildCache(); } export class GlobalCache implements Omit { public disabledCommands: string[] = []; public blacklistedChannels: Snowflake[] = []; public blacklistedGuilds: Snowflake[] = []; public blacklistedUsers: Snowflake[] = []; } export class SharedCache implements Omit { public superUsers: Snowflake[] = []; public privilegedUsers: Snowflake[] = []; public badLinksSecret: string[] = []; public badLinks: string[] = []; public badWords: BadWords = {}; public autoBanCode: string | null = null; } export class GuildCache extends Collection {}