UserVoiceShow: Fix UserPopout patch stealing predicates from another component

main
Nuckyz 8 months ago
parent 8d35cc6112
commit e1f8b3cb30
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -98,8 +98,8 @@ export default definePlugin({
{ {
find: ".popularApplicationCommandIds,", find: ".popularApplicationCommandIds,",
replacement: { replacement: {
match: /\(0,\i\.jsx\)\(\i\.\i,{user:\i,setNote/, match: /applicationId:\i\.id}\),(?=.{0,50}setNote:\i)/,
replace: "$self.patchPopout(arguments[0]),$&", replace: "$&$self.patchPopout(arguments[0]),",
} }
}, },
// below username // below username

Loading…
Cancel
Save