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
|
|
@ -92,7 +92,7 @@ export default definePlugin({
|
|||
find: ",reactionRef:",
|
||||
replacement: {
|
||||
match: /((.)=(.{1,3})\.hideCount)(,.+?reactionCount.+?\}\))/,
|
||||
replace: "$1,whoReactedProps=$3$4,$2?null:Vencord.Plugins.plugins.WhoReacted.renderUsers(whoReactedProps)"
|
||||
replace: "$1,whoReactedProps=$3$4,$2?null:$self.renderUsers(whoReactedProps)"
|
||||
}
|
||||
}],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue