mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 20:42:37 +01:00
Don't fail to have a realityonce quote array.
This commit is contained in:
parent
fbab79c567
commit
61c6aaf187
3
run.js
3
run.js
@ -20,6 +20,9 @@ var DBot = function(timers) {
|
|||||||
if(!this.db.hasOwnProperty("quoteArrs")) {
|
if(!this.db.hasOwnProperty("quoteArrs")) {
|
||||||
this.db.quoteArrs = {};
|
this.db.quoteArrs = {};
|
||||||
}
|
}
|
||||||
|
if(!this.db.quoteArrs.hasOwnProperty("realityonce")) {
|
||||||
|
this.db.quoteArrs.realityonce = [];
|
||||||
|
}
|
||||||
if(!this.db.hasOwnProperty("kicks")) {
|
if(!this.db.hasOwnProperty("kicks")) {
|
||||||
this.db.kicks = {};
|
this.db.kicks = {};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user