diff --git a/package.json b/package.json index 32340a1f5..2fd61252b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vencord", "private": "true", - "version": "1.13.11", + "version": "1.13.12", "description": "The cutest Discord client mod", "homepage": "https://github.com/Vendicated/Vencord#readme", "bugs": { diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 5101df86a..bb76af7dd 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -192,8 +192,8 @@ 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; + // Do not apply role color if the send fails, otherwise it becomes indistinguishable + if (message.state !== "SEND_FAILED") return; if (author.colorString != null && messageSaturation !== 0) { const value = `color-mix(in oklab, ${author.colorString} ${messageSaturation}%, var({DEFAULT}))`;