✨ load .env file

This commit is contained in:
Flam3rboy
2021-02-16 13:30:53 +01:00
parent 4a815d302a
commit b70adcedba
3 changed files with 17 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
process.on("uncaughtException", console.error);
process.on("unhandledRejection", console.error);
import { config } from "dotenv";
config();
import { DiscordServer } from "./Server";
const server = new DiscordServer({ port: 3000 });