This commit is contained in:
Cedric Hoelzl 2020-07-02 20:48:38 +02:00
parent d46249d1de
commit 90dbde1092
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ module.exports = function(rssi){
) )
) )
) )
)) )).then(r=>event.reply("Refreshed all Feeds"));
} }
} }
], ],

2
db.js
View File

@ -26,7 +26,7 @@ module.exports = function(name){
let res = this.db.get("chats").find({id:cid}).value(); let res = this.db.get("chats").find({id:cid}).value();
if(res) return resolve(res); 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(); res = this.db.get("chats").find({id:cid}).value();
if(res) return resolve(res); if(res) return resolve(res);