summaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-20 16:22:15 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-20 16:22:15 +0200
commitd0a32b9b0e8edc58dd46f988a883aec5687ad1e5 (patch)
tree5452b3b50b13706133f0375ca0b7857e4b70b71a /bot.js
parent132f520dceee48f0d1b38701c454afeda8db859b (diff)
downloaddiscordbot-d0a32b9b0e8edc58dd46f988a883aec5687ad1e5.tar.gz
discordbot-d0a32b9b0e8edc58dd46f988a883aec5687ad1e5.zip
fix preview env var
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index ae1d4c6..13ca105 100644
--- a/bot.js
+++ b/bot.js
@@ -2,7 +2,7 @@
/* jshint esnext:true */
"use strict";
-const PREVIEW = process.env.PREVIEW || true;
+const PREVIEW = process.env.PREVIEW != "false";
const sqlite = require("sqlite"),
path = require("path"),