Beta release

This commit is contained in:
2022-11-24 21:25:41 +01:00
parent cd60d7dabc
commit f8d029431f
4 changed files with 16 additions and 13 deletions

View File

@ -4,8 +4,8 @@ import dotenv from "dotenv";
dotenv.config({ path: path.join(__dirname, "../.env") });
// Environment checking
const TOKEN = process.env["TOKEN"];
const CLIENT_ID = process.env["CLIENT_ID"];
const TOKEN = process.env["DEPLOY_TOKEN"];
const CLIENT_ID = process.env["DEPLOY_CLIENT_ID"];
if (!TOKEN) throw new ReferenceError("Environment variable TOKEN is missing");
if (!CLIENT_ID) throw new ReferenceError("Environment variable CLIENT_ID is missing");