summary refs log tree commit diff
path: root/src/index.ts
blob: 9299221cc0ce421f7cb158cfbcac7312018a99a9 (plain) (blame)
1
2
3
4
5
6
7
8
process.on("uncaughtException", console.error);
process.on("unhandledRejection", console.error);
setTimeout(() => {}, 100000000);

import { DiscordServer } from "./Server";

const server = new DiscordServer({ port: 3000 });
server.start().catch(console.error);