fix alwaysanimate and pindms

This commit is contained in:
Elvyra 2026-01-23 21:12:20 +01:00 • committed by sadan
parent 781c84091c
commit 3174783442
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -49,9 +49,9 @@ export default definePlugin({
},
{
// Guild Banner
find: ".animatedBannerHoverLayer,onMouseEnter:",
find: '"data-banner-visible":',
replacement: {
match: /(\.headerContent.+?guildBanner:\i,animate:)\i/,
match: /(guildBanner:\i,animate:)\i(?=}\):null)/,
replace: "$1!0"
}
},

View file

@ -72,7 +72,7 @@ export default definePlugin({
patches: [
{
find: ".privateChannelsHeaderContainer,",
find: '"no-private-channels"',
replacement: [
{
// Filter out pinned channels from the private channel list
@ -95,7 +95,7 @@ export default definePlugin({
replace: "$&if($self.isCategoryIndex($1.section))return $self.renderCategory($1);"
},
{
match: /(?<=span",{)className:\i\.headerText,/,
match: /(?<=span",{)className:\i\.\i,(?=children:\i.)/,
replace: "...$self.makeSpanProps(),$&"
},