2
0

init wiki

This commit is contained in:
Cedric Hoelzl 2019-10-15 20:50:24 +02:00
parent f09a268808
commit dcdca8f9eb

View File

@ -29,7 +29,7 @@ module.exports = function(){
}, },
action : (bot,event,message)=>{ action : (bot,event,message)=>{
return wiki(message.text_arg).then(res=>{ return dic(message.text_arg).then(res=>{
let txt = `*Definitions of ${message.text_arg}:\n`; let txt = `*Definitions of ${message.text_arg}:\n`;
for(let r of res.definitions){ for(let r of res.definitions){