Improved channelManager and chatHandler

This commit is contained in:
rainbownapkin 2024-11-20 05:27:05 -05:00
parent 4b4cb2ed3d
commit 985f8a250f
3 changed files with 154 additions and 117 deletions

View file

@ -110,7 +110,7 @@ statModel.incrementLaunchCount();
flairModel.loadDefaults();
//Hand over general-namespace socket.io connections to the channel manager
io.on("connection", (socket) => {channelManager.handleConnection(io, socket)} );
module.exports.channelManager = new channelManager(io)
//Listen Function
httpServer.listen(port, () => {