FakeNitro: Add custom notifications sound bypass

main
Nuckyz 6 months ago
parent 0e66c4a1f5
commit 75847147d1
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -400,6 +400,14 @@ export default definePlugin({
match: /(?<=type:"(?:SOUNDBOARD_SOUNDS_RECEIVED|GUILD_SOUNDBOARD_SOUND_CREATE|GUILD_SOUNDBOARD_SOUND_UPDATE|GUILD_SOUNDBOARD_SOUNDS_UPDATE)".+?available:)\i\.available/g,
replace: "true"
}
},
// Allow using custom notification sounds
{
find: "canUseCustomNotificationSounds:function",
replacement: {
match: /canUseCustomNotificationSounds:function\(\i\){/,
replace: "$&return true;"
}
}
],

Loading…
Cancel
Save