Fix NoServerEmojis, InvisibleChat & other patches
This commit is contained in:
parent
8473b593a7
commit
98b1b11dfa
4 changed files with 18 additions and 16 deletions
|
|
@ -110,7 +110,7 @@ export default definePlugin({
|
|||
patches: [
|
||||
{
|
||||
// Indicator
|
||||
find: "#{intl::MESSAGE_EDITED}",
|
||||
find: ".SEND_FAILED,",
|
||||
replacement: {
|
||||
match: /let\{className:\i,message:\i[^}]*\}=(\i)/,
|
||||
replace: "try {$1 && $self.INV_REGEX.test($1.message.content) ? $1.content.push($self.indicator()) : null } catch {};$&"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue