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