fix(notices): was not able to be closed

This commit is contained in:
verticalsync 2024-10-15 19:03:35 +03:00
parent 70c15730b7
commit 5e39370fac
No known key found for this signature in database
GPG key ID: C2BC9F32343245E1

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==\"EquicordNotice\")return($1=null,Vencord.Api.Notices.nextNotice(),true);$&"
}
]
}