diff --git a/src/plugins/alwaysAnimate/index.ts b/src/plugins/alwaysAnimate/index.ts index 8dd04278..fe2abd2e 100644 --- a/src/plugins/alwaysAnimate/index.ts +++ b/src/plugins/alwaysAnimate/index.ts @@ -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" } } diff --git a/src/plugins/ignoreActivities/index.tsx b/src/plugins/ignoreActivities/index.tsx index 18eaf0b8..6cb9cb2a 100644 --- a/src/plugins/ignoreActivities/index.tsx +++ b/src/plugins/ignoreActivities/index.tsx @@ -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: {