Since the Bot already creates Discord Notifications it would be awesome to watch the Progress there. The Console already Outputs the Watchtime x/Y Minutes watched. Based on this Progress the Notification could be updated.
The Webhook returns an JSON with Message Information if you append wait=1 as GET Paramter.
{
"type": 0,
"content": "",
"mentions": [],
"mention_roles": [],
"attachments": [],
"embeds": [],
"timestamp": "",
"edited_timestamp": null,
"flags": 0,
"components": [],
"id": "",
"channel_id": "",
"author": {},
"pinned": false,
"mention_everyone": false,
"tts": false,
"webhook_id": ""
}
The "id" returned by the Request can be used to update the Notification/Messages by appending it to the webhook and using PATCH instead of GET as Method
Hey
Since the Bot already creates Discord Notifications it would be awesome to watch the Progress there. The Console already Outputs the Watchtime x/Y Minutes watched. Based on this Progress the Notification could be updated.
The Webhook returns an JSON with Message Information if you append wait=1 as GET Paramter.
https://discord.com/api/webhooks/TOKEN?wait=1
The "id" returned by the Request can be used to update the Notification/Messages by appending it to the webhook and using PATCH instead of GET as Method
https://discord.com/api/webhooks/TOKEN/messages/ID