From a3d18884aa88ee8f13e06bfe37afea8bfee0f9d2 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 12 Aug 2013 21:59:38 +0000 Subject: [PATCH] remove a bunch of debugging output --- modules/report/pages.js | 1 - modules/youtube/youtube.js | 5 ----- 2 files changed, 6 deletions(-) diff --git a/modules/report/pages.js b/modules/report/pages.js index a7fb82e..9274ad7 100644 --- a/modules/report/pages.js +++ b/modules/report/pages.js @@ -43,7 +43,6 @@ var pages = function(dbot) { dbot.api.users.resolveUser(server, nick, function(user) { var notifies = this.pending[user.id]; - console.log(notifies); res.render('missing_notifies', { 'name': dbot.config.name, 'user': nick, diff --git a/modules/youtube/youtube.js b/modules/youtube/youtube.js index 4787a75..f23ae1f 100644 --- a/modules/youtube/youtube.js +++ b/modules/youtube/youtube.js @@ -54,15 +54,10 @@ var youtube = function(dbot) { this.onLoad = function() { dbot.api.link.addHandler(this.name, this.LinkRegex, function(match, name, callback) { - console.log('DEBUG: well it got to the callback'); request.get(this.ApiRoot + '/videos/' + match[2], { 'qs': this.params, 'json': true }, function(error, response, body) { - console.log('DEBUG: well it got to the callback of the callback'); - console.log('DEBUG: ' + match[2]); - console.log('DEBUG: ' + error); - console.log(body); if(_.isObject(body) && _.has(body, 'entry')) { var v = body.entry; if(!_.has(v, 'yt$rating')) {