Notify: Fixed layout and added timestamp
All checks were successful
Build & Publish to GHCR / build (push) Successful in 34s

This commit is contained in:
Florian 2025-10-17 17:23:55 +02:00
parent b2df1d1c7d
commit 00a93fa4a7

View File

@ -31,9 +31,10 @@ def send_notification(title: str,chapter: int,link: str,max_retries: int = 5,tim
"receipent_user_id": 1,
"message": {
"title": title,
"info": f"Chapter {chapter} has been released",
"body": f"Chapter {chapter} has been released",
"link": link,
"category":"royal-road"
"category":"royal-road",
"timestamp": str(int(time.time()))
}
}