From cae83f1cd47b494b893e71b968caf476b2cef31f Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Mon, 18 Nov 2019 13:38:53 +0100 Subject: [PATCH] Init --- config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.js b/config.js index 64407b3..d64982d 100644 --- a/config.js +++ b/config.js @@ -76,14 +76,14 @@ module.exports = function(name){ }, params : [ null, true], timezone : 'Europe/Zurich', - action : ()=>{ + action : (bot)=> { + this.bot = bot; + return ()=>{ //return this.bot.telegram.sendMessage(groupid,"Mieux que 0 !",{}); + } } } - ], - register_bot: (bot)=>{ - this.bot = bot; - } + ] } }