diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2022-11-20 20:56:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 00:56:17 +0100 |
commit | 46b14cb2e087ba251da5b73d04b0dc6a4d22d40f (patch) | |
tree | 79d63183e26c960e37f6c5fbc01a47bc79f0378b | |
parent | 9240865f65112f9fee5187e9f5fcdd5ed2758285 (diff) | |
download | Vencord-46b14cb2e087ba251da5b73d04b0dc6a4d22d40f.tar.gz Vencord-46b14cb2e087ba251da5b73d04b0dc6a4d22d40f.tar.bz2 Vencord-46b14cb2e087ba251da5b73d04b0dc6a4d22d40f.zip |
feat(plugins):WhoReacted keep reaction count (#231)
-rw-r--r-- | src/plugins/whoReacted.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/whoReacted.tsx b/src/plugins/whoReacted.tsx index b94f78e..0079983 100644 --- a/src/plugins/whoReacted.tsx +++ b/src/plugins/whoReacted.tsx @@ -56,8 +56,8 @@ export default definePlugin({ patches: [{ find: ",reactionRef:", replacement: { - match: /(=(.{1,3})\.hideEmoji),(.+?)\?null:\(0,.{1,3}\.jsxs?\)\(.{1,10},\{.{0,20}reactionCount.+?\}\)/, - replace: "$1,whoReactedProps=$2,$3?null:Vencord.Plugins.plugins.WhoReacted.renderUsers(whoReactedProps)" + match: /((.)=(.{1,3})\.hideCount)(,.+?reactionCount.+?\}\))/, + replace: "$1,whoReactedProps=$3$4,$2?null:Vencord.Plugins.plugins.WhoReacted.renderUsers(whoReactedProps)" } }], |