GitHubRepos: Fix Patch
This commit is contained in:
parent
4ef2534a45
commit
f062ae3d57
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".hasAvatarForGuild(null==",
|
find: ".hasAvatarForGuild(null==",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /currentUser:\i,guild:\i\}\).{0,100}(?=\])/,
|
match: /currentUser:\i,guild:\i.{0,15}\}\).{0,100}(?=\])/,
|
||||||
replace: "$&,$self.ProfilePopoutComponent({ user: arguments[0].user, displayProfile: arguments[0].displayProfile })"
|
replace: "$&,$self.ProfilePopoutComponent({ user: arguments[0].user, displayProfile: arguments[0].displayProfile })"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".hasAvatarForGuild(null==",
|
find: ".hasAvatarForGuild(null==",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /currentUser:\i,guild:\i}\)(?<=user:(\i),bio:null==(\i)\?.+?)/,
|
match: /currentUser:\i,guild:\i.{0,15}\}\)(?<=user:(\i),bio:null==(\i)\?.+?)/,
|
||||||
replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2 })"
|
replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2 })"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue