Skip to content

Commit

Permalink
Update translate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtanisTheOne committed May 26, 2021
1 parent 75311e5 commit 3bb8425
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 @@ -22,7 +22,7 @@ function discordPatch (string)
// eslint-disable-next-line no-useless-escape
const urlRegex = /(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?/giu;

//let regexFix = string.replace(/:[^\s]*?:/gmi);
// let regexFix = string.replace(/:[^\s]*?:/gmi);

let match = string.match(/<.*?>/gmiu);
let everyonePing = string.match(/@everyone|@here/giu);
Expand Down

0 comments on commit 3bb8425

Please sign in to comment.