UserVoiceShow: Fix UserPopout patch stealing predicates from another component

main
Nuckyz 6 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,",
replacement: {
match: /\(0,\i\.jsx\)\(\i\.\i,{user:\i,setNote/,
replace: "$self.patchPopout(arguments[0]),$&",
match: /applicationId:\i\.id}\),(?=.{0,50}setNote:\i)/,
replace: "$&$self.patchPopout(arguments[0]),",
}
},
// below username

Loading…
Cancel
Save