diff --git a/config.js b/config.js index be38e13..64407b3 100644 --- a/config.js +++ b/config.js @@ -76,14 +76,14 @@ module.exports = function(name){ }, params : [ null, true], timezone : 'Europe/Zurich', - action : function(bot){ - this.bot = bot; - return ()=>{ + action : ()=>{ //return this.bot.telegram.sendMessage(groupid,"Mieux que 0 !",{}); - } } } - ] + ], + register_bot: (bot)=>{ + this.bot = bot; + } } }