PlatformSpoofer: Fix Patch

This commit is contained in:
thororen1234 2025-10-21 19:53:04 -04:00
parent 23ac3e735e
commit 2b2cb6a17e
No known key found for this signature in database

View file

@ -68,8 +68,8 @@ export default definePlugin({
{
find: "voiceChannelEffect]:",
replacement: {
match: /(?<=participantUserId:(\i).{0,2000}participantType:\i,platform:)(\i)(?=,className:\i\(\))/,
replace: "$self.getPlatform(false, $1)?.vcIcon||$2"
match: /(?<=participantUserId:(\i).{0,250}platform:(\i).*?muted:\i\}\);)/,
replace: "$2=$self.getPlatform(false, $1)?.vcIcon||$2;"
}
}
],