From 0e160ae77477f0986a02746e84158329299f438f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 8 Jan 2022 12:25:35 -0500 Subject: add shared db --- src/lib/utils/BushCache.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/utils/BushCache.ts') diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts index cea0aea..5654495 100644 --- a/src/lib/utils/BushCache.ts +++ b/src/lib/utils/BushCache.ts @@ -3,15 +3,20 @@ import { Collection, type Snowflake } from 'discord.js'; export class BushCache { public global = new GlobalCache(); + public shared = new SharedCache(); public guilds = new GuildCache(); } export class GlobalCache { - public superUsers: Snowflake[] = []; public disabledCommands: string[] = []; public blacklistedChannels: Snowflake[] = []; public blacklistedGuilds: Snowflake[] = []; public blacklistedUsers: Snowflake[] = []; } +export class SharedCache { + public superUsers: Snowflake[] = []; + public badLinks: string[] = []; +} + export class GuildCache extends Collection {} -- cgit