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:
parent
c3ffe8d729
commit
4dd774f290
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user