mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 19:37:01 -04:00
refactor: update plugins to use $self
(#478)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
1d995e58f5
commit
d95be1acba
19 changed files with 26 additions and 26 deletions
|
@ -99,7 +99,7 @@ export default definePlugin({
|
|||
find: ".isSidebarVisible,",
|
||||
replacement: {
|
||||
match: /(var (.)=.\.className.+?children):\[(.\.useMemo[^}]+"aria-multiselectable")/,
|
||||
replace: "$1:[$2.startsWith('members')?Vencord.Plugins.plugins.MemberCount.render():null,$3"
|
||||
replace: "$1:[$2.startsWith('members')?$self.render():null,$3"
|
||||
}
|
||||
}],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue