blob: 08804687b25fe8f02659076faf75ac573319b543 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
process.on("uncaughtException", console.error);
process.on("unhandledRejection", console.error);
import "missing-native-js-functions";
import { config } from "dotenv";
config();
import { DiscordServer } from "./Server";
const server = new DiscordServer({ port: 3000 });
server.start().catch(console.error);
// @ts-ignore
global.server = server;
|