diff --git a/modules/reddit/reddit.js b/modules/reddit/reddit.js index 344ad40..b6d084b 100644 --- a/modules/reddit/reddit.js +++ b/modules/reddit/reddit.js @@ -43,6 +43,7 @@ var reddit = function(dbot) { for(i=0;i 0) { _.each(posts, function(post) { @@ -71,7 +72,9 @@ var reddit = function(dbot) { checkTimes[channel.id][feed.subreddit] = Date.now(); } }.bind(this)); - }.bind(this), feed.interval)); + }.bind(this), feed.interval); + console.log(intervalId); + this.ints.push(intervalId); }.bind(this)); }.bind(this)); }.bind(this));