dont start express server

This commit is contained in:
mightypanders 2022-05-05 21:34:51 +02:00
parent aac7967037
commit 0c63b20ffe

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()
client.start()
server.start(() => { //server.start(() => {
console.log(`Server running on port ${server.getPort()}`) // console.log(`Server running on port ${server.getPort()}`)
//const discordAdapter = new DiscordAdapter() // //const discordAdapter = new DiscordAdapter()
client.start() // client.start()
}) //})