Skip to content

Commit

Permalink
BlurNsfw: fix regex targeting
Browse files Browse the repository at this point in the history
  • Loading branch information
rynmy committed Sep 11, 2024
1 parent f6b046f commit cd9d273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/blurNsfw/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default definePlugin({
{
find: ".embedWrapper,embed",
replacement: [{
match: /(?<=channel:\s*n).*?\.container/g,
match: /(?<=channel:\s*\i).*?\.container/g,
replace: "$&+(n.nsfw?' vc-nsfw-img':'')"
},

Expand Down

0 comments on commit cd9d273

Please sign in to comment.