blob: cea0aea5c70c8111da62e566e15c2a643491b3e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { type Guild } from '#lib';
import { Collection, type Snowflake } from 'discord.js';
export class BushCache {
public global = new GlobalCache();
public guilds = new GuildCache();
}
export class GlobalCache {
public superUsers: Snowflake[] = [];
public disabledCommands: string[] = [];
public blacklistedChannels: Snowflake[] = [];
public blacklistedGuilds: Snowflake[] = [];
public blacklistedUsers: Snowflake[] = [];
}
export class GuildCache extends Collection<Snowflake, Guild> {}
|