blob: 476f51698af15e6523605707eeeeed73818be23a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { Collection, type Snowflake } from 'discord.js';
import { Guild } from '../models/Guild.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> {}
|