Enable DBL support for production

This commit is contained in:
TheEssem 2019-12-20 08:25:29 -06:00
parent 3e9d4164aa
commit 55ce34ded7
1 changed files with 3 additions and 1 deletions

4
app.js
View File

@ -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