Patch FIxes

Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com>
This commit is contained in:
thororen1234 2025-03-19 16:52:20 -04:00
parent 6d61c0144d
commit 5077b16cb0
No known key found for this signature in database
2 changed files with 2 additions and 9 deletions

View file

@ -51,7 +51,7 @@ export default definePlugin({
// Guild Banner
find: ".animatedBannerHoverLayer,onMouseEnter:",
replacement: {
match: /animate:\i(?=}\))/,
match: /(?<=guildBanner:\i,animate:)\i(?=,isRefreshEnabled:)/,
replace: "animate:!0"
}
}

View file

@ -261,14 +261,7 @@ export default definePlugin({
replace: (m, props, nowPlaying) => `${m}$self.renderToggleGameActivityButton(${props},${nowPlaying}),`
}
},
// Discord has 2 different components for activities. Currently, the last is the one being used
{
find: ".activityTitleText,variant",
replacement: {
match: /\.activityTitleText.+?children:(\i)\.name.*?}\),/,
replace: (m, props) => `${m}$self.renderToggleActivityButton(${props}),`
},
},
// Activities from the apps launcher in the bottom right of the chat bar
{
find: ".promotedLabelWrapperNonBanner,children",
replacement: {