-
-
Save BulzyKrown/603877f7cb57b7be2243103d54f1e21d to your computer and use it in GitHub Desktop.
send random color discord js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message.channel.send({ | |
embed: { | |
color: Math.floor(Math.random() * 16777214) + 1, //random color between one and 16777214 (dec) | |
description: `Random color generated: ${randColor}\n${randColor} is equal to 0x${randColor.toString(16).toUpperCase()}` | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment