AutoMod/src/struct/ServerConfig.ts

18 lines
491 B
TypeScript
Raw Normal View History

2021-10-10 15:33:21 +02:00
import AutomodSettings from "./antispam/AutomodSettings";
2021-10-09 22:20:06 +02:00
class ServerConfig {
id: string | undefined;
prefix: string | undefined;
spaceAfterPrefix: boolean | undefined;
2021-10-10 15:33:21 +02:00
automodSettings: AutomodSettings | undefined;
botManagers: string[] | undefined;
2021-10-13 18:27:19 +02:00
moderators: string[] | undefined;
2021-10-11 17:27:50 +02:00
whitelist: {
users: string[] | undefined,
roles: string[] | undefined,
managers: boolean | undefined,
} | undefined;
2021-10-09 22:20:06 +02:00
}
export default ServerConfig;