mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 19:45:09 +00:00
bump to v1.13.12
This commit is contained in:
parent
353a699481
commit
5c7a90c05f
2 changed files with 3 additions and 3 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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}))`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue