3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

remove the debug output thing

This commit is contained in:
reality 2013-12-19 18:50:23 +00:00
parent f04da64b21
commit b0d41fb490

View File

@ -41,7 +41,6 @@ var reddit = function(dbot) {
this.db.scan('reddit_feeds', function(channel) {
if(channel) {
console.log(channel);
channels.push(channel);
}
}, function() {
@ -131,8 +130,6 @@ var reddit = function(dbot) {
if(!err && body && body.kind === 'Listing') {
var posts = _.pluck(body.data.children, 'data');
newPosts = _.filter(posts, function(post) {
console.log(post.created_utc + ' vs ' + (last /
1000));
return post.created_utc > (last / 1000);
});
callback(null, newPosts);