VoiceButtons fix renderButtons Patch (#937)

* Fix VoiceButtons renderButtons patch

* Update index.tsx

---------

Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
oma 2026-03-28 12:07:28 -04:00 • committed by GitHub
parent e57d72628b
commit 2c96bd198a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ export default definePlugin({
find: ".VOICE_PANEL}}",
replacement: [
{
match: /\[\i\.\i\]:\i\}\),children:\[/,
match: /\}\),children:\[(?=.{0,200}\.VOICE_CHANNEL_GAME_ACTIVITY_INDICATOR_VIEWED)/,
replace: "$&$self.renderButtons(arguments[0]?.user),"
}
]