From 55ce34ded7bdc2c1486ae1bf6916850fd8d5ff2e Mon Sep 17 00:00:00 2001 From: TheEssem Date: Fri, 20 Dec 2019 08:25:29 -0600 Subject: [PATCH] Enable DBL support for production --- app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 67ed203..9b345aa 100644 --- a/app.js +++ b/app.js @@ -43,7 +43,9 @@ async function init() { client.connect(); // post to DBL - // require("./utils/dbl.js"); + if (process.env.NODE_ENV === "production") { + require("./utils/dbl.js"); + } } // launch the bot