3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 23:55:02 +00:00

Separate bot and API server .env files. Add example .env files.

This commit is contained in:
Dragory 2019-07-21 14:37:46 +03:00
parent 9082b71b69
commit 55f0f6c391
5 changed files with 18 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import DiscordHTTPError from "eris/lib/errors/DiscordHTTPError"; // tslint:disab
import { Configs } from "./data/Configs";
require("dotenv").config();
require("dotenv").config({ path: path.resolve(__dirname, "..", "bot.env") });
// Error handling
let recentPluginErrors = 0;