This commit is contained in:
Cedric Hoelzl 2019-11-18 13:39:07 +01:00
parent cf17126cb8
commit 8325ee978a

View File

@ -115,12 +115,12 @@ module.exports = function(){
cstr : '0 0 * * * *',
params : [ null, true],
timezone : 'Europe/Zurich',
action : function(bot){
this.bot = bot;
return function(){
return this.bot.telegram.sendMessage("0","Beep",{"parse_mode":"Markdown"});
action : (bot)=> {
this.bot = bot;
return () =>{
return this.bot.telegram.sendMessage("0","Beep",{"parse_mode":"Markdown"});
}
}
}
}
]
}