|
|
|
@ -171,6 +171,10 @@ class _Client extends Client
|
|
|
|
|
}
|
|
|
|
|
async YTFeed()
|
|
|
|
|
{
|
|
|
|
|
//TODO: Allow multiple feeds per channel
|
|
|
|
|
//Rust: FacePunch and Shadowfrax
|
|
|
|
|
//!Needs some other element for comparison other than published date
|
|
|
|
|
|
|
|
|
|
const feeds = await feedM.find().then(feeds=>{return feeds})
|
|
|
|
|
if(feeds.length<1) return
|
|
|
|
|
for(var feed of feeds)
|
|
|
|
@ -792,6 +796,10 @@ class FreeGames
|
|
|
|
|
data.splice(10, data.length-10);
|
|
|
|
|
return data
|
|
|
|
|
}
|
|
|
|
|
if(!Res.length) return setTimeout(() =>
|
|
|
|
|
{
|
|
|
|
|
update();
|
|
|
|
|
}, 60*1000);
|
|
|
|
|
for(var j = 0; j<this.channels.length; j++)
|
|
|
|
|
{
|
|
|
|
|
const Pos = Res.map(e => e.id).indexOf(this.channels[j].lastid);
|
|
|
|
|