From be684eea51e1850ddc92860d023ffdc1e3f027fa Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 30 Oct 2025 14:39:36 -0400 Subject: [PATCH] Fix patches --- .../clipsEnhancements.discordDesktop/index.tsx | 2 +- src/equicordplugins/forwardAnywhere/index.ts | 2 +- src/equicordplugins/githubRepos/index.tsx | 2 +- src/plugins/experiments/index.tsx | 8 -------- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/equicordplugins/clipsEnhancements.discordDesktop/index.tsx b/src/equicordplugins/clipsEnhancements.discordDesktop/index.tsx index a2c886ace..bb8ddabc7 100644 --- a/src/equicordplugins/clipsEnhancements.discordDesktop/index.tsx +++ b/src/equicordplugins/clipsEnhancements.discordDesktop/index.tsx @@ -63,7 +63,7 @@ export default definePlugin({ ] }, { - find: "clipMethod:\"manual\"", + find: "#{intl::CLIPS_UNKNOWN_SOURCE}", replacement: { match: /(applicationName:)(.{0,50})(,applicationId:)(\i)/, replace: "$1$2$3$self.getApplicationId($2)??$4" diff --git a/src/equicordplugins/forwardAnywhere/index.ts b/src/equicordplugins/forwardAnywhere/index.ts index 528548223..9a3b9da5e 100644 --- a/src/equicordplugins/forwardAnywhere/index.ts +++ b/src/equicordplugins/forwardAnywhere/index.ts @@ -31,7 +31,7 @@ export default definePlugin({ { find: "#{intl::MESSAGE_FORWARDING_NSFW_NOT_ALLOWED}", replacement: { - match: /if\(.*?\)(return.{0,25}#{intl::MESSAGE_FORWARDING_NSFW_NOT_ALLOWED})/, + match: /if\(.{0,50}\)(return.{0,25}#{intl::MESSAGE_FORWARDING_NSFW_NOT_ALLOWED})/, replace: "if(false)$1", } }, diff --git a/src/equicordplugins/githubRepos/index.tsx b/src/equicordplugins/githubRepos/index.tsx index 092549eb5..faf53f159 100644 --- a/src/equicordplugins/githubRepos/index.tsx +++ b/src/equicordplugins/githubRepos/index.tsx @@ -67,7 +67,7 @@ export default definePlugin({ { find: ".hasAvatarForGuild(null==", replacement: { - match: /currentUser:\i,guild:\i\}\)(?=\])/, + match: /currentUser:\i,guild:\i\}\).{0,100}(?=\])/, replace: "$&,$self.ProfilePopoutComponent({ user: arguments[0].user, displayProfile: arguments[0].displayProfile })" } }, diff --git a/src/plugins/experiments/index.tsx b/src/plugins/experiments/index.tsx index 21600492a..946697ae5 100644 --- a/src/plugins/experiments/index.tsx +++ b/src/plugins/experiments/index.tsx @@ -94,14 +94,6 @@ export default definePlugin({ replace: "false", } }, - // Enable option to always record clips even if you are not streaming - { - find: "isDecoupledGameClippingEnabled(){", - replacement: { - match: /\i\.isStaff\(\)/, - replace: "true" - } - }, // Enable experiment embed on sent experiment links { find: "dev://experiment/",