This commit is contained in:
Cedric Hoelzl 2019-11-18 13:39:59 +01:00
parent 16462fe46a
commit a4d19e3cd9

View File

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