From 5077b16cb0fdd1dfc678b8a18220c77a0e03c4a6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 19 Mar 2025 16:52:20 -0400 Subject: [PATCH] Patch FIxes Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com> --- src/plugins/alwaysAnimate/index.ts | 2 +- src/plugins/ignoreActivities/index.tsx | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) 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: {