dont start express server
This commit is contained in:
parent
aac7967037
commit
0c63b20ffe
13
index.ts
13
index.ts
@ -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()
|
||||||
})
|
//})
|
||||||
|
Loading…
Reference in New Issue
Block a user