diff --git a/config.js b/config.js index f40f261..92086a7 100644 --- a/config.js +++ b/config.js @@ -65,7 +65,7 @@ module.exports = function(rssi){ ) ) ) - )) + )).then(r=>event.reply("Refreshed all Feeds")); } } ], diff --git a/db.js b/db.js index edf7b16..9d3533f 100644 --- a/db.js +++ b/db.js @@ -26,7 +26,7 @@ module.exports = function(name){ let res = this.db.get("chats").find({id:cid}).value(); if(res) return resolve(res); - this.db.get("chats").push({id:cid, tracking:[]}).write(); + this.db.get("chats").push({id:cid, tracking:0}).write(); res = this.db.get("chats").find({id:cid}).value(); if(res) return resolve(res);