what code is represented by Random in embed.color
I am interested in which algorithm is represented by
Random
in Embed Builder().setColor('Random') in d.js. But I can't find it on github5 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
GitHub
discord.js/Util.js at 7b8966bca156db79933403289741893a6e10ccd5 · di...
A powerful JavaScript library for interacting with the Discord API - discord.js/Util.js at 7b8966bca156db79933403289741893a6e10ccd5 · discordjs/discord.js
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Basically just
Math.floor(Math.random() * (0xffffff + 1));
thx
on the internet I found another way to make a random hex color
but this is something like a way for a string