node-event-bot/index.ts

14 lines
377 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)
2022-04-12 22:39:47 +02:00
export const client = new ExtendedClient()
2022-01-03 15:07:49 +01:00
server.start(() => {
console.log(`Server running on port ${server.getPort()}`)
2022-03-09 12:29:42 +01:00
//const discordAdapter = new DiscordAdapter()
client.start()
2022-01-03 15:07:49 +01:00
})