diff --git a/config.js b/config.js index deb4a65..36bba94 100644 --- a/config.js +++ b/config.js @@ -30,6 +30,7 @@ module.exports = function(){ action : (bot,event,message)=>{ return dic(message.text_arg).then(res=>{ + console.log(res) let txt = `*Definitions of ${message.text_arg}:\n`; for(let r of res.definitions){ diff --git a/wiktionary.js b/wiktionary.js index ce77de2..3c74ed0 100644 --- a/wiktionary.js +++ b/wiktionary.js @@ -40,7 +40,6 @@ var verify_word = function verify_word(word) { if (data.length == 0) { reject({ info: 'word does not exist' }); } else { - console.log(data) resolve(data[0].title); } });