Fix most plugins

This commit is contained in:
Vendicated 2022-11-11 00:11:44 +01:00
parent 57f3feba68
commit 8ba9c96f20
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 27 additions and 22 deletions

View file

@ -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])`
}