feat(plugins):WhoReacted keep reaction count (#231)

main
Nuckyz 2 years ago committed by GitHub
parent 9240865f65
commit 46b14cb2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,8 +56,8 @@ export default definePlugin({
patches: [{ patches: [{
find: ",reactionRef:", find: ",reactionRef:",
replacement: { replacement: {
match: /(=(.{1,3})\.hideEmoji),(.+?)\?null:\(0,.{1,3}\.jsxs?\)\(.{1,10},\{.{0,20}reactionCount.+?\}\)/, match: /((.)=(.{1,3})\.hideCount)(,.+?reactionCount.+?\}\))/,
replace: "$1,whoReactedProps=$2,$3?null:Vencord.Plugins.plugins.WhoReacted.renderUsers(whoReactedProps)" replace: "$1,whoReactedProps=$3$4,$2?null:Vencord.Plugins.plugins.WhoReacted.renderUsers(whoReactedProps)"
} }
}], }],

Loading…
Cancel
Save