I am an idiot, it wasn't backwards

This commit is contained in:
MathMan05 2025-11-18 15:42:17 -06:00
parent 4b14bae282
commit 9db3e4a616

View File

@ -349,7 +349,7 @@ export async function postHandleMessage(message: Message) {
} }
// Filter out embeds that could be links, start from scratch // Filter out embeds that could be links, start from scratch
data.embeds = data.embeds.filter((embed) => embed.type !== "rich"); data.embeds = data.embeds.filter((embed) => embed.type === "rich");
const seenNormalizedUrls = new Set<string>(); const seenNormalizedUrls = new Set<string>();
const uniqueLinks: string[] = []; const uniqueLinks: string[] = [];