fedimbed: typo moment

This commit is contained in:
Cynthia Foxwell 2024-04-16 13:13:10 -06:00
parent d2aba65df0
commit c0327e1f98

View file

@ -1036,7 +1036,7 @@ events.add("messageCreate", "fedimbed", async function (msg) {
const hasSpoiler = SPOILER_REGEX.test(url); const hasSpoiler = SPOILER_REGEX.test(url);
url = url url = url
.replace(/\|/g, "") .replace(/\|/g, "")
.replace(/^\]\)/, "") .replace(/^\]\(/, "")
.replace(/\)$/, "") .replace(/\)$/, "")
.trim() .trim()
.replace("@\u200b", "@") .replace("@\u200b", "@")