Fix ServerListAPI

This commit is contained in:
V 2023-05-11 02:28:12 +02:00
parent d5c35055f3
commit d1ad6c47a7
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -32,7 +32,7 @@ export default definePlugin({
}
},
{
find: "Messages.SERVERS",
find: "Messages.SERVERS,children",
replacement: {
match: /(Messages\.SERVERS,children:)(.+?default:return null\}\}\)\))/,
replace: "$1Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($2)"