Comparing version 3.0.0 to 3.0.1
@@ -104,2 +104,5 @@ "use strict"; | ||
this.message(message.string); | ||
if (this.options.debug) { | ||
console.log(message); | ||
} | ||
} | ||
@@ -110,2 +113,5 @@ catch { | ||
this.message(message.string); | ||
if (this.options.debug) { | ||
console.log(message); | ||
} | ||
} | ||
@@ -112,0 +118,0 @@ catch (err) { |
{ | ||
"name": "crispybot", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "An annoying bot.", | ||
@@ -5,0 +5,0 @@ "main": "dist/crispy.js", |
@@ -172,2 +172,5 @@ /** | ||
this.message(message.string); | ||
if (this.options.debug) { | ||
console.log(message); | ||
} | ||
} catch { | ||
@@ -177,2 +180,5 @@ try { | ||
this.message(message.string); | ||
if (this.options.debug) { | ||
console.log(message); | ||
} | ||
} catch (err) { | ||
@@ -179,0 +185,0 @@ if (this.options.debug) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
130976
1832