From 1831f4d3db7c249741566dd4590a0f30304b38af Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 1 May 2025 21:36:20 -0600 Subject: [PATCH] presence: fix top color --- src/modules/utility/presence.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility/presence.js b/src/modules/utility/presence.js index e8a8eae..8b95fbd 100644 --- a/src/modules/utility/presence.js +++ b/src/modules/utility/presence.js @@ -357,7 +357,7 @@ presence.callback = async function (msg, line) { const finalComponents = [{type: 10, content: `Presence for **${formatUsername(target)}**: ${icons.join(" ")}`}]; if (components.length > 0) { - const card = {type: 17, components: [], accent_color: getTopColor(msg, target)}; + const card = {type: 17, components: [], accent_color: getTopColor(msg, target.id)}; for (const [index, component] of components.entries()) { if (Array.isArray(component)) {