This commit is contained in:
Cedric Hoelzl 2019-09-25 13:04:25 +02:00
parent 3733c1e5a2
commit 9da6a432de

View File

@ -77,6 +77,11 @@ module.exports = function(){
text : [ text : [
{ {
trigger : ["/frigal","/frigo","/bar"], trigger : ["/frigal","/frigo","/bar"],
public : true,
desc : {
0: "Reports issues with the bar management",
1: "Reporte des problèmes avec la gestion du bar",
},
requirements : (bot,event,message)=>{ requirements : (bot,event,message)=>{
return new Promise((resolve, reject)=>{ return new Promise((resolve, reject)=>{
return resolve(200); return resolve(200);
@ -97,9 +102,6 @@ module.exports = function(){
}, },
weburl : [], weburl : [],
cron : [], cron : [],
cron_register : function(cron_f,bot,c){
new cron_f(c.cstr, new c.action(bot), c.params[0], c.params[1], c.timezone);
},
} }
} }