mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
parent
5fe2dc34bf
commit
bafbc79601
3 changed files with 4 additions and 3 deletions
|
@ -44,7 +44,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Show all activities in the user popout/sidebar
|
// Show all activities in the user popout/sidebar
|
||||||
find: '"UserProfilePopoutBody"',
|
find: "hasAvatarForGuild(null",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/,
|
match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/,
|
||||||
replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })"
|
replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })"
|
||||||
|
|
|
@ -83,7 +83,7 @@ export default definePlugin({
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: "UserProfileModalHeaderActionButtons",
|
find: "#{intl::OUTGOING_FRIEND_REQUEST}",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/,
|
match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/,
|
||||||
|
|
|
@ -19,7 +19,8 @@ export default definePlugin({
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /header,children:\[.*?\{\}\)/,
|
match: /header,children:\[.*?\{\}\)/,
|
||||||
replace: "$&,$self.FriendCodesPanel"
|
replace: "$&,$self.FriendCodesPanel"
|
||||||
}
|
},
|
||||||
|
noWarn: true,
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue