2
0
This commit is contained in:
sora 2019-10-23 21:10:21 +02:00
parent 2d46490da5
commit cfa1853ae6

View File

@ -28,7 +28,7 @@ module.exports = function(){
});
},
action : (bot,event,message)=>{
if(message.text_args){
if(message.text_args && message.text_args.length >0){
return dic(message.text_arg).then(res=>{
let txt = `*Definitions of ${res.word}:*\n\n`;
if(res.definitions.length ==0){