Init
This commit is contained in:
parent
cf17126cb8
commit
8325ee978a
10
config.js
10
config.js
@ -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"});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user