From 3694e84e214710f2096d68cd1945ee61a9b4e09e Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 18 Sep 2025 18:17:17 -0600 Subject: [PATCH] oop --- src/modules/misc/color.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/misc/color.js b/src/modules/misc/color.js index 057c7de..26d472f 100644 --- a/src/modules/misc/color.js +++ b/src/modules/misc/color.js @@ -177,7 +177,8 @@ randomtheme.callback = async function (msg, line, args, {truerandom}) { const colors = []; for (let _ = 0; _ < Math.floor(Math.random() * 5) + 1; _++) { - colors.push(truerandom ? tinycolor(Math.floor(Math.random() * 0xffffff)) : randomColor()); + const col = truerandom ? tinycolor(Math.floor(Math.random() * 0xffffff)) : randomColor(); + colors.push(col.toHexString().substring(1)); } const angle = Math.floor(Math.random() * 361);