node-event-bot/index.ts

13 lines
370 B
TypeScript

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