Revert "MemberListDecoratorsAPI: Fix Patch"

This reverts commit 7a22c8cf5f.
This commit is contained in:
thororen1234 2025-12-18 13:18:23 -05:00
parent 7a22c8cf5f
commit 89e3dcc58e
No known key found for this signature in database

View file

@ -41,8 +41,8 @@ export default definePlugin({
{
find: "PrivateChannel.renderAvatar",
replacement: {
match: /((?<=:|\[)\i\.isSystemDM\(\)\?.+?:null)/,
replace: "Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1"
match: /decorators:(\i\.isSystemDM\(\)\?.+?:null)/,
replace: "decorators:[Vencord.Api.MemberListDecorators.__getDecorators(arguments[0],'dm'),$1]"
}
}
]