This commit is contained in:
Cynthia Foxwell 2025-09-18 18:17:17 -06:00
parent f98c76328a
commit 3694e84e21
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -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);