aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils/BushCache.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-08 12:25:35 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-08 12:25:35 -0500
commit0e160ae77477f0986a02746e84158329299f438f (patch)
tree55a70950bae700bbd77ff693aecd1b2cbf0777cf /src/lib/utils/BushCache.ts
parent42eab3390f7e2fcdc020eb1e3d602a46c9f34273 (diff)
downloadtanzanite-0e160ae77477f0986a02746e84158329299f438f.tar.gz
tanzanite-0e160ae77477f0986a02746e84158329299f438f.tar.bz2
tanzanite-0e160ae77477f0986a02746e84158329299f438f.zip
add shared db
Diffstat (limited to 'src/lib/utils/BushCache.ts')
-rw-r--r--src/lib/utils/BushCache.ts7
1 files changed, 6 insertions, 1 deletions
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<Snowflake, Guild> {}