Fix Patches
This commit is contained in:
parent
4ed679ef15
commit
61acd54364
2 changed files with 5 additions and 5 deletions
|
|
@ -68,8 +68,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "VoiceChannel, transitionTo: Channel does not have a guildId",
|
||||
replacement: {
|
||||
match: /(?<=\|\|\i\|\|)\i\.default\.selectVoiceChannel\((\i)\.id\)/,
|
||||
replace: "$self.promptVoiceChannel($1)||$&"
|
||||
match: /(?=\|\|\i\.\i\.selectVoiceChannel\((\i)\.id\))/,
|
||||
replace: "||$self.promptVoiceChannel($1)"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -990,13 +990,13 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
{
|
||||
find: "MESSAGE,userId:",
|
||||
find: ".MESSAGE,userId:",
|
||||
group: true,
|
||||
replacement: [
|
||||
{
|
||||
// Track hovering over reaction popouts.
|
||||
match: /(?<=return\(0,\i.\i\)\(\i.\i,{className:\i.\i,)(?=onContextMenu:\i=>)/,
|
||||
replace: "onMouseEnter:()=>{$self.addHoveringReactionPopout(arguments[0].user.id)},onMouseLeave:()=>{$self.removeHoveringReactionPopout(arguments[0].user.id)},$2"
|
||||
match: /(?<=\(0,\i.\i\)\(\i.\i,{className:\i.\i,)(?=(?:align:\i\.\i\.\i\.CENTER|onContextMenu:\i=>))/g,
|
||||
replace: "onMouseEnter:()=>{$self.addHoveringReactionPopout(arguments[0].user.id)},onMouseLeave:()=>{$self.removeHoveringReactionPopout(arguments[0].user.id)},"
|
||||
},
|
||||
{
|
||||
// Replace names in reaction popouts.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue