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:
parent
f04da64b21
commit
b0d41fb490
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user