mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-13 00:23:02 -04:00
Remove HideServers Temp
This commit is contained in:
parent
32817aa039
commit
cb4b6b7554
7 changed files with 4 additions and 449 deletions
|
@ -33,16 +33,10 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
find: "Messages.SERVERS,children",
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<=Messages\.SERVERS,children:)\i\.map\(\i\)/,
|
||||
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
||||
},
|
||||
{
|
||||
match: /guildDiscoveryRef.{0,300}\}\)\]\}\)\}\)/,
|
||||
replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))"
|
||||
}
|
||||
]
|
||||
replacement: {
|
||||
match: /(?<=Messages\.SERVERS,children:)\i\.map\(\i\)/,
|
||||
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue