Fix Patches

This commit is contained in:
thororen1234 2025-06-26 16:03:27 -04:00
parent 0419110526
commit 2565f5e30b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ export default definePlugin({
patches: [ patches: [
{ {
find: ".embedWrapper,embed", find: ".renderEmbedDescription,message",
replacement: [{ replacement: [{
match: /\.container/, match: /\.container/,
replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')" replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')"

View file

@ -89,7 +89,7 @@ export default definePlugin({
authors: [Devs.Rini, Devs.TheKodeToad, Devs.nyx], authors: [Devs.Rini, Devs.TheKodeToad, Devs.nyx],
patches: [ patches: [
{ {
find: '"BaseUsername"', find: ".SYSTEM_TAG=0",
replacement: { replacement: {
/* TODO: remove \i+\i once change makes it to stable */ /* TODO: remove \i+\i once change makes it to stable */
match: /(?<=onContextMenu:\i,children:)(?:\i\+\i|\i)(?=.*?contextGuildId:(\i))/, match: /(?<=onContextMenu:\i,children:)(?:\i\+\i|\i)(?=.*?contextGuildId:(\i))/,