forked from Galactic/galactic-bot
48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
|
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
|
||
|
}
|
||
|
}
|
||
|
};
|