music-bot/@types/Controller.d.ts
Navy.gif 2a3a034e59 Various fixes and improvements
- Added debug statements
- Added option to limit commands to specific roles
- Handle process exiting explicitly
2024-04-13 10:37:10 +03:00

22 lines
566 B
TypeScript

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
}