aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/reverseImageSearch.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/reverseImageSearch.tsx')
-rw-r--r--src/plugins/reverseImageSearch.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/reverseImageSearch.tsx b/src/plugins/reverseImageSearch.tsx
index 3bcefba..cbe72d8 100644
--- a/src/plugins/reverseImageSearch.tsx
+++ b/src/plugins/reverseImageSearch.tsx
@@ -36,7 +36,7 @@ export default definePlugin({
patches: [{
find: "open-native-link",
replacement: {
- match: /key:"open-native-link".{0,200}\(\{href:(.{0,3}),.{0,200}\}\)/,
+ match: /id:"open-native-link".{0,200}\(\{href:(.{0,3}),.{0,200}\},"open-native-link"\)/,
replace: (m, src) =>
`${m},Vencord.Plugins.plugins.ReverseImageSearch.makeMenu(${src}, arguments[2])`
}