Notify: Fixed layout and added timestamp
All checks were successful
Build & Publish to GHCR / build (push) Successful in 34s
All checks were successful
Build & Publish to GHCR / build (push) Successful in 34s
This commit is contained in:
parent
b2df1d1c7d
commit
00a93fa4a7
@ -31,9 +31,10 @@ def send_notification(title: str,chapter: int,link: str,max_retries: int = 5,tim
|
|||||||
"receipent_user_id": 1,
|
"receipent_user_id": 1,
|
||||||
"message": {
|
"message": {
|
||||||
"title": title,
|
"title": title,
|
||||||
"info": f"Chapter {chapter} has been released",
|
"body": f"Chapter {chapter} has been released",
|
||||||
"link": link,
|
"link": link,
|
||||||
"category":"royal-road"
|
"category":"royal-road",
|
||||||
|
"timestamp": str(int(time.time()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user