Fix NSFWGateBypass possibly Vencord

This commit is contained in:
Nuckyz 2023-12-21 21:46:22 -03:00
parent 686f2d925f
commit 109d842e29
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -27,8 +27,8 @@ export default definePlugin({
{
find: ".nsfwAllowed=null",
replacement: {
match: /(\w+)\.nsfwAllowed=/,
replace: "$1.nsfwAllowed=true;",
match: /(?<=\.nsfwAllowed=)null!==.+?(?=[,;])/,
replace: "!0",
},
},
],