aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils/BushCache.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-04 19:32:39 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-04 19:32:39 -0400
commitb5793611d57a734d75b6a0845c441f33d144a5c0 (patch)
tree1deb4dc4cd0e1e575b1bc32ed0ae50085c7a3ecf /src/lib/utils/BushCache.ts
parent41c532de2c7786b2bb8ba5d78f092fed3cc6b63a (diff)
downloadtanzanite-b5793611d57a734d75b6a0845c441f33d144a5c0.tar.gz
tanzanite-b5793611d57a734d75b6a0845c441f33d144a5c0.tar.bz2
tanzanite-b5793611d57a734d75b6a0845c441f33d144a5c0.zip
misc
Diffstat (limited to 'src/lib/utils/BushCache.ts')
-rw-r--r--src/lib/utils/BushCache.ts16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts
index f9def5e..cdf328b 100644
--- a/src/lib/utils/BushCache.ts
+++ b/src/lib/utils/BushCache.ts
@@ -1,15 +1,13 @@
import { Collection, Snowflake } from 'discord.js';
import { Guild } from '../models/Guild';
-class GlobalCache {
- public static superUsers = new Array<Snowflake>();
- public static disabledCommands = new Array<string>();
- public static blacklistedChannels = new Array<Snowflake>();
- public static blacklistedGuilds = new Array<Snowflake>();
- public static blacklistedUsers = new Array<Snowflake>();
-}
-
export class BushCache {
- public static global = GlobalCache;
+ 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>();
}