Work in progress, need some communication first. Working on bot_updates
This commit is contained in:
parent
40d444f36c
commit
2c0bbe3111
@ -24,6 +24,9 @@ import sys
|
||||
example 0 8 * * * -> daily update at 8am
|
||||
'''
|
||||
|
||||
user_ids = []
|
||||
user_crontab = []
|
||||
|
||||
def main_loop():
|
||||
""" main loop for regularly sending updates
|
||||
:raises: none
|
||||
@ -31,6 +34,9 @@ def main_loop():
|
||||
:rtype: none
|
||||
"""
|
||||
|
||||
current_time = time.ctime()
|
||||
send_to_user(current_time)
|
||||
|
||||
|
||||
def send_to_user(pText, pUser_id = 1770205310):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user