|
|
|
@ -131,7 +131,7 @@ export default definePlugin({
|
|
|
|
|
// Indicator
|
|
|
|
|
find: ".Messages.MESSAGE_EDITED,",
|
|
|
|
|
replacement: {
|
|
|
|
|
match: /var .,.,.=(.)\.className,.=.\.message,.=.\.children,.=.\.content,.=.\.onUpdate/gm,
|
|
|
|
|
match: /let\{className:\i,message:\i[^}]*\}=(\i)/,
|
|
|
|
|
replace: "try {$1 && $self.INV_REGEX.test($1.message.content) ? $1.content.push($self.indicator()) : null } catch {};$&"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|