From 69993f0c59694f78e0e8002c665dc7908c598803 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Wed, 25 Sep 2019 11:58:57 +0200 Subject: [PATCH] fix --- config.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/config.js b/config.js index fca74d4..853ed4d 100644 --- a/config.js +++ b/config.js @@ -15,10 +15,11 @@ function get_echo_obj(cmd,ans){ return { trigger : this.cmd, public : true, - desc : {0:`Replies "+${ans}"`, - 1:`Repond "${ans}"`, - 2:`${ans} ga kotaete`, - 3:`${ans} *insert arabic*`, + desc : { + 0:`Replies "+${ans}"`, + 1:`Repond "${ans}"`, + 2:`${ans} ga kotaete`, + 3:`${ans} *insert arabic*`, }, requirements : (bot,event,message)=>{ return new Promise((resolve, reject)=>{ @@ -52,9 +53,6 @@ module.exports = function(echo_list,regex_list){ }, 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); - }, }; for(var i in echo_list){