aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils/BushCache.ts
blob: 95c234665b65347d20cb26ea2b814acf4f264a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
	// eslint-disable-next-line @typescript-eslint/ban-types
	public static guilds = new Collection<Snowflake, Guild>()
}