aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils/BushCache.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/BushCache.ts')
-rw-r--r--src/lib/utils/BushCache.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts
index bfbd7e3..476f516 100644
--- a/src/lib/utils/BushCache.ts
+++ b/src/lib/utils/BushCache.ts
@@ -3,7 +3,7 @@ import { Guild } from '../models/Guild.js';
export class BushCache {
public global = new GlobalCache();
- public guilds = new Collection<Snowflake, Guild>();
+ public guilds = new GuildCache();
}
export class GlobalCache {
@@ -13,3 +13,5 @@ export class GlobalCache {
public blacklistedGuilds: Snowflake[] = [];
public blacklistedUsers: Snowflake[] = [];
}
+
+export class GuildCache extends Collection<Snowflake, Guild> {}