Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function rssCheck(result_old, ctx) {
- var result_new = await everyeye.rss(1);
- if(result_old.pubDate[0] != result_new.pubDate[0]) {
- ctx.reply(result_new.title[0] + '\n\n' + result_new.description[0] + '\n\n' + result_new.link[0] + '\n\n' + result_new.pubDate[0] + '\n\n' + result_new.creator[0]);
- result_old = result_new;
- a = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement