2
0

init wiki

This commit is contained in:
Cedric Hoelzl 2019-10-15 21:47:06 +02:00
parent 451dadfc41
commit b3427a2885
2 changed files with 1 additions and 1 deletions

View File

@ -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){

View File

@ -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);
}
});