node-event-bot/index.ts

13 lines
370 B
TypeScript
Raw Normal View History

2022-01-03 15:07:49 +01:00
import { config } from "./server/configuration"
import Server from "./server/server"
2022-03-09 12:29:42 +01:00
import { ExtendedClient } from "./server/structures/client"
2022-01-03 15:07:49 +01:00
const server = Server.init(config.port)
server.start(() => {
console.log(`Server running on port ${server.getPort()}`)
2022-03-09 12:29:42 +01:00
//const discordAdapter = new DiscordAdapter()
const client = new ExtendedClient()
client.start()
2022-01-03 15:07:49 +01:00
})