From f207ce7342554d4e4cda34834fc8edbabc4e7442 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 7 Jun 2026 13:49:36 -0400 Subject: [PATCH] bump to v1.14.13.2 --- package.json | 4 ++-- src/plugins/ircColors/index.ts | 2 +- src/plugins/showAllMessageButtons/index.ts | 13 ++++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 601497d80..b4d0b9b8d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "equicord", "private": "true", - "version": "1.14.13.1", + "version": "1.14.13.2", "description": "The other cutest Discord client mod", "homepage": "https://github.com/Equicord/Equicord#readme", "bugs": { @@ -104,4 +104,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/src/plugins/ircColors/index.ts b/src/plugins/ircColors/index.ts index cd405ecfd..d9e4f4ae2 100644 --- a/src/plugins/ircColors/index.ts +++ b/src/plugins/ircColors/index.ts @@ -133,7 +133,7 @@ export default definePlugin({ const currentUserColor = Number(h64(currentUserId) % 360n); const otherUserColor = Number(h64(userId) % 360n); const colorDiff = Math.min(Math.abs(currentUserColor - otherUserColor), 360 - Math.abs(currentUserColor - otherUserColor)); - if (colorDiff < 45) { + if (colorDiff < 70) { const newColor = (otherUserColor + 180) % 360; return `hsl(${newColor}, 100%, ${settings.store.lightness}%)`; } diff --git a/src/plugins/showAllMessageButtons/index.ts b/src/plugins/showAllMessageButtons/index.ts index 92c1479f8..cc4b0ce79 100644 --- a/src/plugins/showAllMessageButtons/index.ts +++ b/src/plugins/showAllMessageButtons/index.ts @@ -20,6 +20,12 @@ const settings = definePluginSettings({ description: "Remove requirement to hold shift for pinning a message.", default: true, }, + noQuickReacts: { + default: true, + restartNeeded: true, + type: OptionType.BOOLEAN, + description: "Hide quick reacts. By default, showing the full menu hides quick react buttons.", + }, }); export default definePlugin({ @@ -46,7 +52,12 @@ export default definePlugin({ predicate: () => settings.store.noShiftPin, match: /onClick:.{10,30}(?=\},"pin")/, replace: "onClick:() => $self.toggleMessagePin(arguments[0])," - } + }, + { + predicate: () => !settings.store.noQuickReacts, + match: /\i(\?null:\(0,\i\.jsxs\).{0,100}message:\i\}\)),\(0,\i\.jsxs?\)\(\i\.\i,\{\}\)/, + replace: "false$1" + }, ] }, ],