I am an idiot, it wasn't backwards
This commit is contained in:
parent
4b14bae282
commit
9db3e4a616
@ -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[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user