3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 11:42:36 +01:00

remove a bunch of debugging output

This commit is contained in:
reality 2013-08-12 21:59:38 +00:00
parent 154a0b30fe
commit a3d18884aa
2 changed files with 0 additions and 6 deletions

View File

@ -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,

View File

@ -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')) {