mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Oopsie
This commit is contained in:
parent
11d0c346f1
commit
c4a81137e2
1 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ export default definePlugin({
|
||||||
find: ".BITE_SIZE,user:",
|
find: ".BITE_SIZE,user:",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /,{profileType:.{0,30}\.BITE_SIZE,children:\[/,
|
match: /,{profileType:.{0,30}\.BITE_SIZE,children:\[/,
|
||||||
replace: "$&$self.patch(arguments[0], false, true),",
|
replace: "$&$self.renderVoiceActivityIcon(arguments[0], false, true),",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Direct Messages Side Profile
|
// Direct Messages Side Profile
|
||||||
|
@ -47,7 +47,7 @@ export default definePlugin({
|
||||||
find: /location:"SimplifiedProfilePanel",.+?displayProfile:/,
|
find: /location:"SimplifiedProfilePanel",.+?displayProfile:/,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /PANEL,children:\[/,
|
match: /PANEL,children:\[/,
|
||||||
replace: "$&$self.patch(arguments[0], false, true),",
|
replace: "$&$self.renderVoiceActivityIcon(arguments[0], false, true),",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Full Size Profile
|
// Full Size Profile
|
||||||
|
@ -55,7 +55,7 @@ export default definePlugin({
|
||||||
find: ':"SimplifiedUserProfileModalHeader"}',
|
find: ':"SimplifiedUserProfileModalHeader"}',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /.FULL_SIZE,children:\[/,
|
match: /.FULL_SIZE,children:\[/,
|
||||||
replace: "$&$self.patch(arguments[0], false, true),",
|
replace: "$&$self.renderVoiceActivityIcon(arguments[0], false, true),",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Guild Members List
|
// Guild Members List
|
||||||
|
@ -63,7 +63,7 @@ export default definePlugin({
|
||||||
find: '("member_list_item")',
|
find: '("member_list_item")',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /avatar:\i\(/,
|
match: /avatar:\i\(/,
|
||||||
replace: "children:[$self.patch(arguments[0], false, false)],$&",
|
replace: "children:[$self.renderVoiceActivityIcon(arguments[0], false, false)],$&",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Direct Messages List
|
// Direct Messages List
|
||||||
|
@ -71,7 +71,7 @@ export default definePlugin({
|
||||||
find: "PrivateChannel.renderAvatar",
|
find: "PrivateChannel.renderAvatar",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /highlighted:.+?name:.+?decorators.+?\}\)\}\),/,
|
match: /highlighted:.+?name:.+?decorators.+?\}\)\}\),/,
|
||||||
replace: "$&$self.patch(arguments[0], true, false),",
|
replace: "$&$self.renderVoiceActivityIcon(arguments[0], true, false),",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Friends list
|
// Friends list
|
||||||
|
@ -79,7 +79,7 @@ export default definePlugin({
|
||||||
find: /.alignPomelo]:.+?.isPomelo()/,
|
find: /.alignPomelo]:.+?.isPomelo()/,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.subtext,children:\i}/,
|
match: /\.subtext,children:\i}/,
|
||||||
replace: "$&,$self.patch(arguments[0], true, false)",
|
replace: "$&,$self.renderVoiceActivityIcon(arguments[0], true, false)",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue