Random colors

This commit is contained in:
Wizzard 2024-03-14 00:52:55 -04:00
parent af047f4183
commit a31038eade
1 changed files with 3 additions and 1 deletions

View File

@ -136,8 +136,10 @@ async function checkPriceContinuously() {
console.log(`Current Price: ${priceHistory.currentPrice}`);
const randomColor = Math.floor(Math.random() * 16777215).toString(16);
const embed = new EmbedBuilder()
.setColor(0x0099ff)
.setColor(`#${randomColor}`)
.setThumbnail('https://solana.com/src/img/branding/solanaLogoMark.png')
.setTitle('Solana (SOL) Price Update')
.setDescription(`**Current Price: \`$${priceHistory.currentPrice}\`**`)