Don't double embed posts

This commit is contained in:
Tarrgon
2025-06-04 14:28:30 -04:00
parent 633815b768
commit 5486417f41
+1 -1
View File
@@ -293,7 +293,7 @@ async function imageHandler(message: Message, matchedGroups: RegExpExecArray[]):
if (await blacklistIfNecessary(message, posts)) return false;
const content = posts.map(post => getPostUrl(post)).join('\n');
const content = posts.map(post => `<${getPostUrl(post)}>`).join('\n');
if (content.trim().length > 0) return content.trim();