mirror of
https://github.com/reality/dbot.git
synced 2025-04-01 21:37:01 +02: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")) {
|
||||
this.db.quoteArrs = {};
|
||||
}
|
||||
if(!this.db.quoteArrs.hasOwnProperty("realityonce")) {
|
||||
this.db.quoteArrs.realityonce = [];
|
||||
}
|
||||
if(!this.db.hasOwnProperty("kicks")) {
|
||||
this.db.kicks = {};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user