fix
This commit is contained in:
parent
3dd6b7db1f
commit
1111753e2e
@ -116,7 +116,7 @@ module.exports = function(){
|
|||||||
},
|
},
|
||||||
action : (bot,event,message, matcher)=>{
|
action : (bot,event,message, matcher)=>{
|
||||||
let txt = '';
|
let txt = '';
|
||||||
for(let i of res){
|
for(let i of matcher){
|
||||||
if(diblacklist.indexOf(i)>=0)
|
if(diblacklist.indexOf(i)>=0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ module.exports = function(){
|
|||||||
if(txt.length < 4){
|
if(txt.length < 4){
|
||||||
return null;
|
return null;
|
||||||
}else{
|
}else{
|
||||||
return event.reply("", {"parse_mode":"Markdown"});
|
return event.reply(txt, {"parse_mode":"Markdown"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user