fedimbed: typo moment

This commit is contained in:
Cynthia Foxwell 2024-04-16 13:13:10 -06:00
parent d2aba65df0
commit c0327e1f98
1 changed files with 1 additions and 1 deletions

View File

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