Decor: Patch Messages
This commit is contained in:
parent
2695af051c
commit
f7d293e2a9
1 changed files with 10 additions and 0 deletions
|
|
@ -95,6 +95,16 @@ export default definePlugin({
|
|||
replace: "$self.useUserDecorAvatarDecoration($1)??$&"
|
||||
}
|
||||
]
|
||||
},
|
||||
// Messages
|
||||
{
|
||||
find: '"Message Username"',
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<=userValue.{0,25}void 0:)((\i)\.avatarDecoration)/,
|
||||
replace: "$self.useUserDecorAvatarDecoration($2)??$1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
settings,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue