diff --git a/src/plugins/implicitRelationships/index.ts b/src/plugins/implicitRelationships/index.ts index c6a29aae8..a1534269a 100644 --- a/src/plugins/implicitRelationships/index.ts +++ b/src/plugins/implicitRelationships/index.ts @@ -84,7 +84,7 @@ export default definePlugin({ // Add support for the nonce parameter to Discord's shitcode { - find: ".GUILD_SUBSCRIPTIONS_BULK,{", + find: ".REQUEST_GUILD_MEMBERS,", replacement: { match: /\.send\(\i\.\i\.REQUEST_GUILD_MEMBERS,{/, replace: "$&nonce:arguments[1].nonce," diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 4372412fa..659fa6917 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -198,6 +198,9 @@ export default definePlugin({ const { messageSaturation } = settings.use(["messageSaturation"]); const author = useMessageAuthor(message); + // Do not apply role color if the send fails, otherwise it becomes indistinguishable if the message is sent + if (message.state !== "SENT") return; + if (author.colorString != null && messageSaturation !== 0) { const value = `color-mix(in oklab, ${author.colorString} ${messageSaturation}%, var({DEFAULT}))`; diff --git a/src/plugins/userVoiceShow/components.tsx b/src/plugins/userVoiceShow/components.tsx index 1280bf9ec..407cf518d 100644 --- a/src/plugins/userVoiceShow/components.tsx +++ b/src/plugins/userVoiceShow/components.tsx @@ -26,14 +26,12 @@ const ActionButtonClasses = findByPropsLazy("actionButton", "highlight"); type IconProps = Omit, "children"> & { size?: number; - iconClassName?: string; }; function Icon(props: PropsWithChildren) { const { size = 16, className, - iconClassName, ...restProps } = props; @@ -43,7 +41,6 @@ function Icon(props: PropsWithChildren) { className={classes(cl("speaker"), className)} > )}