UserVoiceShow: Fix UserPopout patch stealing predicates from another component

This commit is contained in:
Nuckyz 2024-03-22 09:43:17 -03:00
parent 8d35cc6112
commit e1f8b3cb30
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -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