From c7005764030ac7f5c49ccbbd292423629d94a6c8 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 31 Jul 2025 16:49:05 -0400 Subject: [PATCH] Fix Patches --- src/equicordplugins/fastDeleteChannels/index.tsx | 2 +- src/equicordplugins/unreadBadgeCount/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/fastDeleteChannels/index.tsx b/src/equicordplugins/fastDeleteChannels/index.tsx index 3d986edce..2a026500a 100644 --- a/src/equicordplugins/fastDeleteChannels/index.tsx +++ b/src/equicordplugins/fastDeleteChannels/index.tsx @@ -81,7 +81,7 @@ export default definePlugin({ { find: "UNREAD_IMPORTANT:", replacement: { - match: /\.name,{.{0,140}\.children.+?:null(?<=,channel:(\i).+?)/, + match: /\.Children\.count.+?:null(?<=,channel:(\i).+?)/, replace: "$&,$self.TrashIcon($1)" } }, diff --git a/src/equicordplugins/unreadBadgeCount/index.tsx b/src/equicordplugins/unreadBadgeCount/index.tsx index 2a49b4496..c28dd7139 100644 --- a/src/equicordplugins/unreadBadgeCount/index.tsx +++ b/src/equicordplugins/unreadBadgeCount/index.tsx @@ -41,7 +41,7 @@ export default definePlugin({ find: "UNREAD_IMPORTANT:", replacement: [ { - match: /.name,{.{0,140}\.children.+?:null/, + match: /\.Children\.count.+?:null(?<=,channel:(\i).+?)/, replace: "$&,$self.CountBadge({channel: arguments[0].channel})", }, ]