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

de debug in da lebug

This commit is contained in:
reality 2013-12-21 23:15:05 +00:00
parent c3ffe8d729
commit 4dd774f290

View File

@ -97,6 +97,7 @@ var reddit = function(dbot) {
}, },
'getPostInfo': function(name, callback) { 'getPostInfo': function(name, callback) {
console.log('MAKIN A REQUEST');
request.get({ request.get({
'url': this.ApiRoot + 'comments/' + name + '.json', 'url': this.ApiRoot + 'comments/' + name + '.json',
'json': true, 'json': true,
@ -128,6 +129,7 @@ var reddit = function(dbot) {
}, },
'getNewPosts': function(sr, last, callback) { 'getNewPosts': function(sr, last, callback) {
console.log('MAKIN A REQUEST');
request.get({ request.get({
'url': this.ApiRoot + 'r/' + sr + '/new.json', 'url': this.ApiRoot + 'r/' + sr + '/new.json',
'json': true, 'json': true,