mirror of
https://github.com/reality/dbot.git
synced 2024-12-04 18:09:30 +01:00
translate module
This commit is contained in:
parent
212ae87e8b
commit
266f6b58f4
@ -20,8 +20,6 @@ var translate = function(dbot) {
|
|||||||
},
|
},
|
||||||
'json': true
|
'json': true
|
||||||
}, function(err, res, body) {
|
}, function(err, res, body) {
|
||||||
console.log(err);
|
|
||||||
console.log(body);
|
|
||||||
if(!err && _.has(body, 'tuc')) {
|
if(!err && _.has(body, 'tuc')) {
|
||||||
callback(false, body.tuc);
|
callback(false, body.tuc);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user