timedelta
This commit is contained in:
@@ -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)}}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user