Fix PinDMs and BetterSettings eager load

This commit is contained in:
Nuckyz 2025-01-15 11:17:40 -03:00
parent a53257634e
commit c8f4ce9785
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ export default definePlugin({
},
{
match: /(?<=,NOTICE_DISMISS:function\(\i\){)return null!=(\i)/,
replace: "if($1.id==\"VencordNotice\")return($1=null,Vencord.Api.Notices.nextNotice(),true);$&"
replace: "if($1?.id==\"VencordNotice\")return($1=null,Vencord.Api.Notices.nextNotice(),true);$&"
}
]
}