diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index 43c41cf1..3b4ec88b 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -48,8 +48,8 @@ export default definePlugin({ { find: ".COLLECTIBLES_SHOP_FULLSCREEN))", replacement: { - match: /(\?void 0:(\i)\.channelId.{0,500}return)((.{0,15})"div",{.*?\])(\}\)\}\})/, - replace: "$1$4$self.render,{currentChannel:$2,children:$3})$5" + match: /(?<=\?void 0:(\i)\.channelId.{0,500}return)((.{0,15})"div",{.*?\])(?=\}\)\}\)\}\)\})/, + replace: "$3$self.render,{currentChannel:$1,children:$2})" } }, // intercept channel navigation to switch/create tabs diff --git a/src/equicordplugins/fastDeleteChannels/index.tsx b/src/equicordplugins/fastDeleteChannels/index.tsx index 1facee66..01e2d5e5 100644 --- a/src/equicordplugins/fastDeleteChannels/index.tsx +++ b/src/equicordplugins/fastDeleteChannels/index.tsx @@ -43,7 +43,7 @@ export default definePlugin({ } }, { - find: "M11 9H4C2.89543 9 2 8.10457 2 7V1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1V7C0 9.20914 1.79086 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9Z", + find: "spineWithGuildIcon]:", replacement: { match: /mentionsCount:\i.+?null(?<=channel:(\i).+?)/, replace: "$&,$self.TrashIcon($1)" diff --git a/src/equicordplugins/moreStickers/index.tsx b/src/equicordplugins/moreStickers/index.tsx index 5eada01b..3194c19d 100644 --- a/src/equicordplugins/moreStickers/index.tsx +++ b/src/equicordplugins/moreStickers/index.tsx @@ -32,7 +32,7 @@ export default definePlugin({ patches: [ { - find: "ChannelStickerPickerButton", + find: ".stickerButton)},", replacement: [{ match: /(children:\(0,\i\.jsx\)\()(.{0,10})({innerClassName.{10,30}\.stickerButton)/, replace: "$1arguments[0]?.stickersType?$self.stickerButton:$2$3" diff --git a/src/equicordplugins/unreadBadgeCount/index.tsx b/src/equicordplugins/unreadBadgeCount/index.tsx index d2dd9fcd..c8d014ba 100644 --- a/src/equicordplugins/unreadBadgeCount/index.tsx +++ b/src/equicordplugins/unreadBadgeCount/index.tsx @@ -75,7 +75,7 @@ export default definePlugin({ // Threads { // This is the thread "spine" that shows in the left - find: "M11 9H4C2.89543 9 2 8.10457 2 7V1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1V7C0 9.20914 1.79086 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9Z", + find: "spineWithGuildIcon]:", replacement: [ { match: /mentionsCount:\i.{0,50}?null/, diff --git a/src/plugins/callTimer/index.tsx b/src/plugins/callTimer/index.tsx index 7b74bc23..e27084c3 100644 --- a/src/plugins/callTimer/index.tsx +++ b/src/plugins/callTimer/index.tsx @@ -53,7 +53,7 @@ export default definePlugin({ patches: [{ find: "renderConnectionStatus(){", replacement: { - match: /(renderConnectionStatus\(\){.+\.channel,children:)(.+?}\):\i)(?=}\))/, + match: /(renderConnectionStatus\(\){.+\.channel,children:)(.+?}\))(?=}\))/, replace: "$1[$2,$self.renderTimer(this.props.channel.id)]" } }], diff --git a/src/plugins/fakeNitro/index.tsx b/src/plugins/fakeNitro/index.tsx index f560211d..150598c0 100644 --- a/src/plugins/fakeNitro/index.tsx +++ b/src/plugins/fakeNitro/index.tsx @@ -396,7 +396,7 @@ export default definePlugin({ }, // Separate patch for allowing using custom app icons { - find: "?24:30,", + find: "getCurrentDesktopIcon(),", replacement: { match: /\i\.\i\.isPremium\(\i\.\i\.getCurrentUser\(\)\)/, replace: "true" diff --git a/src/plugins/typingIndicator/index.tsx b/src/plugins/typingIndicator/index.tsx index 435b302a..8e62a1b1 100644 --- a/src/plugins/typingIndicator/index.tsx +++ b/src/plugins/typingIndicator/index.tsx @@ -178,7 +178,7 @@ export default definePlugin({ // Theads { // This is the thread "spine" that shows in the left - find: "M11 9H4C2.89543 9 2 8.10457 2 7V1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1V7C0 9.20914 1.79086 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9Z", + find: "spineWithGuildIcon]:", replacement: { match: /mentionsCount:\i.+?null(?<=channel:(\i).+?)/, replace: "$&,$self.TypingIndicator($1.id,$1.getGuildId())"