diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-15 15:48:50 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-15 15:48:50 -0500 |
commit | e5f90ecfa84b2d102c0774b0c50a31d58025555b (patch) | |
tree | f3fa3da369089183537eae5da82fb9f2d4e19faf /src/lib/utils/BushCache.ts | |
parent | 6fd7f7064782fddc20e65b5f1b1ba987c3a868a4 (diff) | |
download | tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.gz tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.bz2 tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.zip |
idk
Diffstat (limited to 'src/lib/utils/BushCache.ts')
-rw-r--r-- | src/lib/utils/BushCache.ts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts index d633898..3808538 100644 --- a/src/lib/utils/BushCache.ts +++ b/src/lib/utils/BushCache.ts @@ -2,12 +2,14 @@ import { Collection, type Snowflake } from 'discord.js'; import { Guild } from '../models/Guild.js'; export class BushCache { - public static global = { - superUsers: new Array<Snowflake>(), - disabledCommands: new Array<string>(), - blacklistedChannels: new Array<Snowflake>(), - blacklistedGuilds: new Array<Snowflake>(), - blacklistedUsers: new Array<Snowflake>() - }; - public static guilds = new Collection<Snowflake, Guild>(); + public global = new GlobalCache(); + public guilds = new Collection<Snowflake, Guild>(); +} + +export class GlobalCache { + public superUsers: Snowflake[] = []; + public disabledCommands: string[] = [] + public blacklistedChannels: Snowflake[] = []; + public blacklistedGuilds: Snowflake[] = []; + public blacklistedUsers: Snowflake[] = []; } |