I want my Discord bot's embeds to appear in red or green (random between those two) so I want to create something that will make this possible.
I have the following code:
const randomcolors = ['#008000', '#E50000']
const randomizer = Math.floor((Math.random() * foreigncolors.length));
Then I have this, but it always sets the color to green.
const embed = new Discord.MessageEmbed()
.setColor(foreigncolors[colorss])