diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/messageLinkEmbeds.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/messageLinkEmbeds.tsx b/src/plugins/messageLinkEmbeds.tsx index e3a28a7..951835a 100644 --- a/src/plugins/messageLinkEmbeds.tsx +++ b/src/plugins/messageLinkEmbeds.tsx @@ -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; |