2021-10-10 15:33:21 +02:00
|
|
|
import AutomodSettings from "./antispam/AutomodSettings";
|
2022-01-04 14:56:01 +01:00
|
|
|
import LogConfig from "./LogConfig";
|
2021-10-10 15:33:21 +02:00
|
|
|
|
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-12-05 15:18:12 +01:00
|
|
|
linkedServer: string | undefined;
|
2021-10-11 17:27:50 +02:00
|
|
|
whitelist: {
|
|
|
|
users: string[] | undefined,
|
|
|
|
roles: string[] | undefined,
|
|
|
|
managers: boolean | undefined,
|
|
|
|
} | undefined;
|
2021-10-14 13:25:13 +02:00
|
|
|
logs: {
|
2022-01-04 14:56:01 +01:00
|
|
|
messageUpdate?: LogConfig, // Message edited or deleted
|
|
|
|
modAction?: LogConfig, // User warned, kicked or banned
|
|
|
|
userScan?: LogConfig // User profile matched word list
|
2021-12-09 22:04:33 +01:00
|
|
|
} | undefined;
|
2022-01-04 14:56:01 +01:00
|
|
|
enableUserScan?: boolean;
|
2021-10-09 22:20:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default ServerConfig;
|