fix
This commit is contained in:
parent
f8fbe5c117
commit
7f58e3defe
14
config.js
14
config.js
@ -49,20 +49,16 @@ module.exports = function(echo_list,regex_list){
|
|||||||
media : [],
|
media : [],
|
||||||
callback : [],
|
callback : [],
|
||||||
inline : [],
|
inline : [],
|
||||||
new_member : (bot,event)=>{
|
new_member : (bot,event)=>{},
|
||||||
//return event.replyWithMarkdown("Welcome !");
|
|
||||||
},
|
|
||||||
weburl : [],
|
weburl : [],
|
||||||
cron : [],
|
cron : [],
|
||||||
};
|
};
|
||||||
|
|
||||||
for(var i in echo_list){
|
for(var el of echo_list){
|
||||||
var element = echo_list[i];
|
echoobj.text.push(new get_echo_obj(el.cmd,el.ans));
|
||||||
echoobj.text.push(new get_echo_obj(element.cmd,element.ans));
|
|
||||||
}
|
}
|
||||||
for(var i in regex_list){
|
for(var el of regex_list){
|
||||||
var element = regex_list[i];
|
echoobj.regex.push(new get_echo_obj(el.cmd,el.ans));
|
||||||
echoobj.regex.push(new get_echo_obj(element.cmd,element.ans));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return echoobj;
|
return echoobj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user