1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

Fix NSFWGateBypass possibly Vencord

This commit is contained in:
Nuckyz 2023-12-21 21:46:22 -03:00 committed by Luna
parent 9cb3dd76b2
commit 0b2f3298ea

View file

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