mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-24 00:18:23 +03:00
Add title to webhook
This commit is contained in:
@@ -78,7 +78,8 @@ export async function postBranding(req: Request, res: Response) {
|
|||||||
"description": `**User Agent**: ${userAgent}\
|
"description": `**User Agent**: ${userAgent}\
|
||||||
\n**Sent User Agent**: ${req.body.userAgent}\
|
\n**Sent User Agent**: ${req.body.userAgent}\
|
||||||
\n**Real User Agent**: ${req.headers["user-agent"]}\
|
\n**Real User Agent**: ${req.headers["user-agent"]}\
|
||||||
\n**Video Duration**: ${videoDuration}`,
|
\n**Video Duration**: ${videoDuration}\
|
||||||
|
\n**Title**: ${title?.title}`,
|
||||||
"color": 1184701,
|
"color": 1184701,
|
||||||
"thumbnail": {
|
"thumbnail": {
|
||||||
"url": getMaxResThumbnail(videoID),
|
"url": getMaxResThumbnail(videoID),
|
||||||
|
|||||||
Reference in New Issue
Block a user