music-bot/@types/Controller.d.ts

22 lines
566 B
TypeScript
Raw Normal View History

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