mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
remove a bunch of debugging output
This commit is contained in:
parent
154a0b30fe
commit
a3d18884aa
@ -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,
|
||||
|
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user