music-bot/@types/Controller.d.ts
2024-03-24 20:56:03 +02:00

25 lines
640 B
TypeScript

import { LoggerMasterOptions } from '@navy.gif/logger';
import { ClientOptions } from './DiscordClient.js';
export type ControllerOptions = {
rootDir: string,
logger: LoggerMasterOptions,
shardOptions: {
totalShards: 'auto' | number,
shardList?: 'auto' | number[]
respawn?: boolean,
},
discord: ClientOptions
}
export type ShardingOptions = {
shardList?: 'auto' | number[],
totalShards?: 'auto' | number,
mode?: 'worker' | 'process',
respawn?: boolean,
shardArgs?: string[],
execArgv?: string[],
token?: string,
path?: string,
clientOptions?: ClientOptions
}