Fix plugins for Discord update (#3298)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
This commit is contained in:
parent
48868f01fe
commit
c4fc9ac8e0
5 changed files with 9 additions and 16 deletions
|
|
@ -73,8 +73,8 @@ export default definePlugin({
|
|||
group: true,
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<=\.AVATAR_SIZE\).{0,100};)(?=return)/,
|
||||
replace: "$self.useAccountPanelRef();"
|
||||
match: /let{speaking:\i/,
|
||||
replace: "$self.useAccountPanelRef();$&"
|
||||
},
|
||||
{
|
||||
match: /(\.AVATAR,children:.+?renderPopout:(\i)=>){(.+?)}(?=,position)(?<=currentUser:(\i).+?)/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue