summary refs log tree commit diff
path: root/src/index.ts
blob: f4be661d95da779c5af285c72a2b2e323c43a580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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);

// @ts-ignore
global.server = server;