Fix issues caused by @shared tsconfig path
This commit is contained in:
parent
53ed83b701
commit
9390b164d8
8 changed files with 56 additions and 18 deletions
|
@ -12,7 +12,7 @@ import DiscordHTTPError from "eris/lib/errors/DiscordHTTPError"; // tslint:disab
|
|||
|
||||
import { Configs } from "./data/Configs";
|
||||
|
||||
require("dotenv").config({ path: path.resolve(__dirname, "..", "bot.env") });
|
||||
require("dotenv").config({ path: path.resolve(process.cwd(), "bot.env") });
|
||||
|
||||
// Error handling
|
||||
let recentPluginErrors = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue