fedimbed: typo moment
This commit is contained in:
parent
d2aba65df0
commit
c0327e1f98
1 changed files with 1 additions and 1 deletions
|
@ -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", "@")
|
||||||
|
|
Loading…
Reference in a new issue