diff --git a/lib.js b/lib.js index 463c5ea..9322871 100644 --- a/lib.js +++ b/lib.js @@ -666,7 +666,11 @@ class rustCommits data.results.splice(30, 20); return data.results.filter(x=>x.repo.search(/rust/i)!=-1) } - + if(!Res.length) + { + console.log('Framework: Rustcommits: Res', Res); + return this.update(); + } for(var j = 0; j FreeGames: Res:',Res); if(!Res.length) return setTimeout(() => { update(); }, 60*1000); for(var j = 0; j FreeGames: Res:',Res); const Pos = Res.map(e => e.id).indexOf(this.channels[j].lastid); Res.splice(Pos, Res.length-Pos)