timedelta
This commit is contained in:
parent
a3b28ea36f
commit
b11cb8d064
@ -49,7 +49,7 @@ def process():
|
||||
pass
|
||||
mongo.users_collection.update_one(
|
||||
{"chat_id": user["chat_id"]},
|
||||
{"$set": {"next_daily_notify_time": get_next_daily_notify_time(user_model, time_now)}}
|
||||
{"$set": {"next_daily_notify_time": user_model.next_daily_notify_time + datetime.timedelta(days=1)}}
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user