Work in progress, need some communication first. Working on bot_updates

This commit is contained in:
Florian Kellermann 2022-04-05 14:12:12 +02:00
parent 40d444f36c
commit 2c0bbe3111

View File

@ -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):