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.",