fix alwaysanimate and pindms
This commit is contained in:
parent
781c84091c
commit
3174783442
2 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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(),$&"
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue