diff --git a/config.js b/config.js index 44ef126..d910ead 100644 --- a/config.js +++ b/config.js @@ -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"}); } } },