mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
[skip ci] Update Monaco; Fix code scanning errors
This commit is contained in:
parent
a2e03084b0
commit
bf795c49df
4 changed files with 63 additions and 47 deletions
|
@ -51,7 +51,7 @@ const SearchResultClasses = findByPropsLazy("message", "searchResult");
|
|||
let AutoModEmbed: React.ComponentType<any> = () => null;
|
||||
|
||||
const messageLinkRegex = /(?<!<)https?:\/\/(?:\w+\.)?discord(?:app)?\.com\/channels\/(\d{17,20}|@me)\/(\d{17,20})\/(\d{17,20})/g;
|
||||
const tenorRegex = /https:\/\/(?:www.)?tenor\.com/;
|
||||
const tenorRegex = /^https:\/\/(?:www\.)?tenor\.com\//;
|
||||
|
||||
interface Attachment {
|
||||
height: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue