fedimbed: autocomplete moment
This commit is contained in:
parent
e66ce49da3
commit
a1052066d4
1 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ async function blueskyQuoteEmbed(quote, videos) {
|
||||||
color: PLATFORM_COLORS.bluesky,
|
color: PLATFORM_COLORS.bluesky,
|
||||||
url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/"))}`,
|
url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/"))}`,
|
||||||
author: {name: "\u2198 Quoted Post"},
|
author: {name: "\u2198 Quoted Post"},
|
||||||
title: `${quote.author.display_name} (@${quote.author.handle})`,
|
title: `${quote.author.displayName} (@${quote.author.handle})`,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: quote.author.avatar,
|
url: quote.author.avatar,
|
||||||
},
|
},
|
||||||
|
@ -207,7 +207,7 @@ async function bluesky(msg, url, spoiler = false) {
|
||||||
const mainEmbed = {
|
const mainEmbed = {
|
||||||
color: PLATFORM_COLORS.bluesky,
|
color: PLATFORM_COLORS.bluesky,
|
||||||
url,
|
url,
|
||||||
title: `${post.author.display_name} (@${post.author.handle})`,
|
title: `${post.author.displayName} (@${post.author.handle})`,
|
||||||
description: post.record.text,
|
description: post.record.text,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: post.author.avatar,
|
url: post.author.avatar,
|
||||||
|
|
Loading…
Reference in a new issue