This commit is contained in:
Cedric Hoelzl 2020-01-05 10:40:06 +01:00
parent 3dd6b7db1f
commit 1111753e2e

View File

@ -116,7 +116,7 @@ module.exports = function(){
},
action : (bot,event,message, matcher)=>{
let txt = '';
for(let i of res){
for(let i of matcher){
if(diblacklist.indexOf(i)>=0)
continue;
@ -125,7 +125,7 @@ module.exports = function(){
if(txt.length < 4){
return null;
}else{
return event.reply("", {"parse_mode":"Markdown"});
return event.reply(txt, {"parse_mode":"Markdown"});
}
}
},