ProfileSectionsAPI: Fix DM Sidebar Patch

This commit is contained in:
thororen1234 2026-05-18 15:49:53 -04:00
parent 7738a18e49
commit fede183873
No known key found for this signature in database

View file

@ -14,7 +14,7 @@ export default definePlugin({
patches: [
// dm user sidebar
{
find: "#{intl::PREMIUM_GIFTING_BUTTON}),action:",
find: '"UserProfileSidebar"',
replacement: {
match: /(#{intl::USER_PROFILE_MEMBER_SINCE}\),.{0,100}userId:(\i\.id)}\)}\))/,
replace: "$1,Vencord.Api.ProfileSections.renderProfileSections({userId:$2,isSideBar:true})",