get systemConfig(): {
$schema?: string;
api: {
enabled: boolean;
server_status: | "error"
| "operational"
| "degraded"
| "partial_outage"
| "major_outage"
| "maintenance";
server_status_description?: string;
server_status_started_at?: Date;
};
command_permission_mode: "ignore"
| "overwrite"
| "check";
commands: {
global_disabled: string[];
groups: Record<string, string[]>;
mention_prefix: boolean;
register_application_commands_on_boot:
| "guild"
| "none"
| "always_global"
| "auto_global";
system_banned_users: string[];
};
emoji_resolve_strategy: "both"
| "home_guild"
| "application";
enable_file_filter: boolean;
extensions: { default_mode: "enable_all" | "disable_all" };
infractions?: { store_attachments: boolean };
log_server?: { auto_start: boolean; enabled: boolean };
logging?: { enabled: boolean; webhook_url: string };
presence?: {
name?: string;
status?: "online" | "idle" | "dnd" | "invisible";
type:
| "Playing"
| "Streaming"
| "Listening"
| "Watching"
| "Custom"
| "Competing";
url?: string;
};
restart_exit_code: number;
snippets?: { save_attachments?: boolean };
statistics?: { enabled: boolean; sync_delay: number };
sync_emojis: boolean;
system_admins: string[];
trust_proxies?: number;
}
Returns {
$schema?: string;
api: {
enabled: boolean;
server_status:
| "error"
| "operational"
| "degraded"
| "partial_outage"
| "major_outage"
| "maintenance";
server_status_description?: string;
server_status_started_at?: Date;
};
command_permission_mode: "ignore"
| "overwrite"
| "check";
commands: {
global_disabled: string[];
groups: Record<string, string[]>;
mention_prefix: boolean;
register_application_commands_on_boot:
| "guild"
| "none"
| "always_global"
| "auto_global";
system_banned_users: string[];
};
emoji_resolve_strategy: "both"
| "home_guild"
| "application";
enable_file_filter: boolean;
extensions: { default_mode: "enable_all" | "disable_all" };
infractions?: { store_attachments: boolean };
log_server?: { auto_start: boolean; enabled: boolean };
logging?: { enabled: boolean; webhook_url: string };
presence?: {
name?: string;
status?: "online" | "idle" | "dnd" | "invisible";
type:
| "Playing"
| "Streaming"
| "Listening"
| "Watching"
| "Custom"
| "Competing";
url?: string;
};
restart_exit_code: number;
snippets?: { save_attachments?: boolean };
statistics?: { enabled: boolean; sync_delay: number };
sync_emojis: boolean;
system_admins: string[];
trust_proxies?: number;
}