// Galactic - Discord moderation bot // Copyright (C) 2024 Navy.gif // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see . import { LoggerMasterOptions, LoggerClientOptions } from '@navy.gif/logger'; import { ClientOptions } from './Client.ts'; import { StorageManagerOptions } from './Storage.js'; // export type ClientOptions = { // prefix: string, // developers: string[], // developmentMode: boolean, // invite: string, // slashCommands: { // developerGuilds: string[] // }, // libraryOptions: { // partials: string[], // intents: string[], // invalidRequestWarningInterval: number // } // } export type ControllerOptions = { rootDir: string, logger: LoggerMasterOptions, shardOptions: { totalShards: 'auto' | number, shardList?: 'auto' | number[] respawn?: boolean, }, discord: ClientOptions, storage: StorageManagerOptions, api: { load: boolean, domain: string, authCallback: string, dashboardUrl: string, logger: LoggerClientOptions, debug: boolean, shardCount: number, discord: { scope: string[], token: string } http: { port: number } } };