Enable DBL support for production
This commit is contained in:
parent
3e9d4164aa
commit
55ce34ded7
1 changed files with 3 additions and 1 deletions
4
app.js
4
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
|
||||
|
|
Loading…
Reference in a new issue