From 4361d0c089ebe681bcca07fa4f70c4f3ee1bf08b Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Tue, 3 Mar 2026 11:28:43 -0500
Subject: [PATCH 1/2] I have no idea if this actually fixes the patch because
it works for me fine
---
src/equicordplugins/clickableRoles/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/equicordplugins/clickableRoles/index.tsx b/src/equicordplugins/clickableRoles/index.tsx
index 8f86916c0..0447a7d26 100644
--- a/src/equicordplugins/clickableRoles/index.tsx
+++ b/src/equicordplugins/clickableRoles/index.tsx
@@ -159,7 +159,7 @@ export default definePlugin({
{
find: 'tutorialId:"whos-online"',
replacement: {
- match: /\((function\(\i\)\{let\{id:.*?"\\xa0— ".{0,15})\}\);/,
+ match: /\((function\(\i\)\{let\{id:.*?xa0—.{0,15})\}\);/,
replace: "($self.wrapRoleGroup($1}));",
},
},
From fd862598d46974236a00588798be1fdf2e8c2332 Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Tue, 3 Mar 2026 11:34:12 -0500
Subject: [PATCH 2/2] Fix Components Icon
---
src/components/Icons.tsx | 20 ++++++++++++++++
src/equicordplugins/clickableRoles/index.tsx | 2 +-
src/equicordplugins/components.dev/index.tsx | 25 +-------------------
3 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/src/components/Icons.tsx b/src/components/Icons.tsx
index 332cd3ecd..835ab7373 100644
--- a/src/components/Icons.tsx
+++ b/src/components/Icons.tsx
@@ -749,3 +749,23 @@ export const QrCodeIcon = (props?: any) => {
);
};
+
+export const ComponentsIcon = (props?: any) => {
+ return (
+
+
+
+
+ );
+};
diff --git a/src/equicordplugins/clickableRoles/index.tsx b/src/equicordplugins/clickableRoles/index.tsx
index 0447a7d26..6f4005e58 100644
--- a/src/equicordplugins/clickableRoles/index.tsx
+++ b/src/equicordplugins/clickableRoles/index.tsx
@@ -159,7 +159,7 @@ export default definePlugin({
{
find: 'tutorialId:"whos-online"',
replacement: {
- match: /\((function\(\i\)\{let\{id:.*?xa0—.{0,15})\}\);/,
+ match: /\((function\(\i\)\{let\{id:.*?#{intl::CHANNEL_MEMBERS_A11Y_LABEL}.*?\}\))\}\);/,
replace: "($self.wrapRoleGroup($1}));",
},
},
diff --git a/src/equicordplugins/components.dev/index.tsx b/src/equicordplugins/components.dev/index.tsx
index 68f05fb63..a8269b4bc 100644
--- a/src/equicordplugins/components.dev/index.tsx
+++ b/src/equicordplugins/components.dev/index.tsx
@@ -6,6 +6,7 @@
import "./styles.css";
+import { ComponentsIcon } from "@components/Icons";
import SettingsPlugin from "@plugins/_core/settings";
import { Devs } from "@utils/constants";
import { removeFromArray } from "@utils/misc";
@@ -14,30 +15,6 @@ import { SettingsRouter } from "@webpack/common";
import ComponentsTab from "./components/ComponentsTab";
-function ComponentsIcon(props: React.SVGProps) {
- return (
-
- );
-}
-
export default definePlugin({
name: "Components",
description: "Adds a new tab to settings to browse Discord components.",