From 7a22c8cf5f27f29cdaee008c10b31c93a7d86b49 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:59:39 -0500 Subject: [PATCH] MemberListDecoratorsAPI: Fix Patch --- src/plugins/_api/memberListDecorators/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/_api/memberListDecorators/index.tsx b/src/plugins/_api/memberListDecorators/index.tsx index 90f09d8fa..8bb778b8a 100644 --- a/src/plugins/_api/memberListDecorators/index.tsx +++ b/src/plugins/_api/memberListDecorators/index.tsx @@ -41,8 +41,8 @@ export default definePlugin({ { find: "PrivateChannel.renderAvatar", replacement: { - match: /decorators:(\i\.isSystemDM\(\)\?.+?:null)/, - replace: "decorators:[Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1]" + match: /((?<=:|\[)\i\.isSystemDM\(\)\?.+?:null)/, + replace: "Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1" } } ]