mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-25 16:56:23 +00:00
Forgot to use \i
This commit is contained in:
parent
b9434d3970
commit
dd4e2048c8
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ export default definePlugin({
|
|||
replacement:
|
||||
{
|
||||
// We add the banner as a property while we can still access the user id
|
||||
match: /((\w)=\w\.user.+)(,avatar:function)/,
|
||||
match: /((\i)=\i\.user.+)(,avatar:function)/,
|
||||
replace: "$1,banner:$self.memberListBannerHook($2)$3",
|
||||
},
|
||||
},
|
||||
|
@ -115,7 +115,7 @@ export default definePlugin({
|
|||
replacement:
|
||||
{
|
||||
// We cant access the user id here, so we take the banner property we set earlier
|
||||
match: /(renderInner=function.+\w=)(\w)\.children/,
|
||||
match: /(renderInner=function.+\i=)(\i)\.children/,
|
||||
replace: "$1[$2.banner, $2.children]",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue