From 90dbde1092912a420ffa18aebbe25e42157947cc Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Thu, 2 Jul 2020 20:48:38 +0200 Subject: [PATCH] kk --- config.js | 2 +- db.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);