Fix NoServerEmojis, InvisibleChat & other patches

This commit is contained in:
Nuckyz 2025-05-13 20:59:13 -03:00
parent 8473b593a7
commit 98b1b11dfa
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
4 changed files with 18 additions and 16 deletions

View file

@ -30,7 +30,7 @@ export default definePlugin({
{
find: "}searchWithoutFetchingLatest(",
replacement: {
match: /searchWithoutFetchingLatest.{20,300}get\((\i).{10,40}?reduce\(\((\i),(\i)\)=>\{/,
match: /\.get\((\i)\)\.nameMatchesChain\(\i\)\.reduce\(\((\i),(\i)\)=>\{/,
replace: "$& if ($self.shouldSkip($1, $3)) return $2;"
}
}