diff --git a/src/equicordplugins/_api/profileCollections.ts b/src/equicordplugins/_api/profileCollections.ts index e21a5a24b..51567da90 100644 --- a/src/equicordplugins/_api/profileCollections.ts +++ b/src/equicordplugins/_api/profileCollections.ts @@ -14,7 +14,7 @@ export default definePlugin({ patches: [ // message and member list popouts { - find: ".USER_PROFILE_POPOUT])", + find: '"UserProfilePopout");', replacement: { match: /user:\i,widgets:.{0,100}?\}\),/, replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),", diff --git a/src/plugins/accountPanelServerProfile/index.tsx b/src/plugins/accountPanelServerProfile/index.tsx index 3dd778b4f..feedd1598 100644 --- a/src/plugins/accountPanelServerProfile/index.tsx +++ b/src/plugins/accountPanelServerProfile/index.tsx @@ -21,8 +21,7 @@ interface UserProfileProps { originalRenderPopout: () => React.ReactNode; } -const UserProfile = findComponentByCodeLazy(".POPOUT,user"); - +const UserProfile = findComponentByCodeLazy(".isNonUserBot()?", ",onClickContainer:"); let openAlternatePopout = false; let accountPanelRef: React.RefObject = { current: null };