fedimbed: try to fix full embed spoilering

This commit is contained in:
Cynthia Foxwell 2022-12-05 21:47:39 -07:00
parent 7087a9bae5
commit 038224bf75

View file

@ -313,7 +313,7 @@ async function processUrl(msg, url) {
.catch(() => {}); .catch(() => {});
await msg.channel.createMessage({ await msg.channel.createMessage({
content: cw && attachments.length > 0 ? ":warning: " + cw + " || ||" : "", content: cw && attachments.length > 0 ? `:warning: ${cw} || ${url} ||` : "",
embeds, embeds,
allowedMentions: { allowedMentions: {
repliedUser: false, repliedUser: false,