dont start express server

This commit is contained in:
mightypanders 2022-05-05 21:34:51 +02:00
parent aac7967037
commit 0c63b20ffe
1 changed files with 7 additions and 6 deletions

View File

@ -2,12 +2,13 @@ import { config } from "./server/configuration"
import Server from "./server/server" import Server from "./server/server"
import { ExtendedClient } from "./server/structures/client" import { ExtendedClient } from "./server/structures/client"
const server = Server.init(config.port) //const server = Server.init(config.port)
export const client = new ExtendedClient() export const client = new ExtendedClient()
server.start(() => {
console.log(`Server running on port ${server.getPort()}`)
//const discordAdapter = new DiscordAdapter()
client.start() client.start()
})
//server.start(() => {
// console.log(`Server running on port ${server.getPort()}`)
// //const discordAdapter = new DiscordAdapter()
// client.start()
//})