From 9da6a432de012f6632298ee0e47971626d44ec0e Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Wed, 25 Sep 2019 13:04:25 +0200 Subject: [PATCH] fix --- config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index fd0d07a..5b47030 100644 --- a/config.js +++ b/config.js @@ -77,6 +77,11 @@ module.exports = function(){ text : [ { 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)=>{ return new Promise((resolve, reject)=>{ return resolve(200); @@ -97,9 +102,6 @@ module.exports = function(){ }, weburl : [], 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); - }, } } \ No newline at end of file