Fix NSFWGateBypass possibly Vencord
This commit is contained in:
parent
686f2d925f
commit
109d842e29
|
@ -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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue