Renamed command manager to console manager, improved log reading
This commit is contained in:
@ -11,7 +11,7 @@ import Logger, { LoggerType } from '#application/logger'
|
||||
import { getAppPath } from '#application/storage'
|
||||
import { TSocket } from '#application/types'
|
||||
import { HttpRouter } from '#http/router'
|
||||
import CommandManager from '#managers/commandManager'
|
||||
import ConsoleManager from '#managers/consoleManager'
|
||||
import DateManager from '#managers/dateManager'
|
||||
import QueueManager from '#managers/queueManager'
|
||||
import UserManager from '#managers/userManager'
|
||||
@ -49,8 +49,6 @@ export class Server {
|
||||
* Start the server
|
||||
*/
|
||||
public async start() {
|
||||
// Read log file and print to console for debugging
|
||||
|
||||
// Connect to database
|
||||
try {
|
||||
await Database.initialize()
|
||||
@ -86,8 +84,8 @@ export class Server {
|
||||
// Load zoneEditor manager
|
||||
await ZoneManager.boot()
|
||||
|
||||
// Load command manager
|
||||
await CommandManager.boot(this.io)
|
||||
// Load console manager
|
||||
await ConsoleManager.boot(this.io)
|
||||
|
||||
// Listen for socket connections
|
||||
this.io.on('connection', this.handleConnection.bind(this))
|
||||
|
Reference in New Issue
Block a user