times = (message.text).replace(".20",".")
base_datetime = datetime.datetime(2021, 4, 1, 10, 0, 0)
base_datetime_add_3_hour = base_datetime + datetime.timedelta(hours=22)
print(base_datetime)
print(base_datetime_add_22_hour)
if times == time.strftime("%d.%m.%y"):
def add_user_to_db(user_id):
connect = sqlite3.connect("db.db")
cursor = connect.cursor()
cursor.execute("INSERT INTO subscriptions (user_id, status) VALUES (?, ?)", (user_id, True))
connect.commit()