Skip to content

Commit

Permalink
Fix karen lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtanisTheOne committed May 26, 2021
1 parent 28bdfab commit 75311e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function discordPatch (string)
let everyonePing = string.match(/@everyone|@here/giu);
let urlMatch = string.match(urlRegex);

var regexFix = string.replace(/<.*?>/gmiu, "<>").
let regexFix = string.replace(/<.*?>/gmiu, "<>").
replace(urlRegex, "{}").
replace(/@everyone/g, "[]").
replace(/@here/g, "[]");
Expand Down

0 comments on commit 75311e5

Please sign in to comment.