diff --git a/modules/words/words.js b/modules/words/words.js index 6acd36e..d287546 100644 --- a/modules/words/words.js +++ b/modules/words/words.js @@ -16,6 +16,7 @@ var words = function(dbot) { '~etymology': function(event) { var query = event.params[1]; this.wn.etymologies(encodeURIComponent(query), function(err, defs) { + console.log(defs); if(!err && defs[0]) { event.reply(query + ' etymology: ' + defs[0].replace(/<\/?[^>]+(>|$)/g, ""));