From c6dfacff103848b21cbb56f6a45c69f88f57fa4f Mon Sep 17 00:00:00 2001 From: Cynthia Date: Tue, 6 Dec 2022 16:49:49 -0700 Subject: [PATCH] fedimbed: fix cw check --- src/modules/fedimbed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index f33f26f..ee94998 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -427,7 +427,7 @@ async function processUrl(msg, url) { .catch(() => {}); await msg.channel.createMessage({ - content: cw && attachments.length > 0 ? `:warning: ${cw} || ${url} ||` : "", + content: cw && images.length > 0 && videos.length > 0 && audios.length ? `:warning: ${cw} || ${url} ||` : "", embeds, files, allowedMentions: {