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 : [],
|
||||
callback : [],
|
||||
inline : [],
|
||||
new_member : (bot,event)=>{
|
||||
//return event.replyWithMarkdown("Welcome !");
|
||||
},
|
||||
new_member : (bot,event)=>{},
|
||||
weburl : [],
|
||||
cron : [],
|
||||
};
|
||||
|
||||
for(var i in echo_list){
|
||||
var element = echo_list[i];
|
||||
echoobj.text.push(new get_echo_obj(element.cmd,element.ans));
|
||||
for(var el of echo_list){
|
||||
echoobj.text.push(new get_echo_obj(el.cmd,el.ans));
|
||||
}
|
||||
for(var i in regex_list){
|
||||
var element = regex_list[i];
|
||||
echoobj.regex.push(new get_echo_obj(element.cmd,element.ans));
|
||||
for(var el of regex_list){
|
||||
echoobj.regex.push(new get_echo_obj(el.cmd,el.ans));
|
||||
}
|
||||
|
||||
return echoobj;
|
||||
|
Loading…
x
Reference in New Issue
Block a user