mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Merge branch 'dev' into stickercopy
This commit is contained in:
commit
961a14a5af
1 changed files with 3 additions and 3 deletions
|
@ -124,11 +124,11 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
// Voice Users
|
// Voice Users
|
||||||
{
|
{
|
||||||
find: "renderPrioritySpeaker(){",
|
find: ".usernameSpeaking]:",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /renderName\(\){.+?usernameSpeaking\]:.+?(?=children)/,
|
match: /\.usernameSpeaking\]:.+?,(?=children)(?<=guildId:(\i),.+?user:(\i).+?)/,
|
||||||
replace: "$&style:$self.getColorStyle(this?.props?.user?.id,this?.props?.guildId),"
|
replace: "$&style:$self.getColorStyle($2.id,$1),"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
predicate: () => settings.store.voiceUsers
|
predicate: () => settings.store.voiceUsers
|
||||||
|
|
Loading…
Add table
Reference in a new issue