node-event-bot/index.ts
mightypanders 9df18575fd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
implement auto repeating events
2022-04-12 22:39:47 +02:00

14 lines
377 B
TypeScript

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