Fix random color from crashing

This commit is contained in:
Wizzard 2024-03-14 02:22:26 -04:00
parent a31038eade
commit faff35fa90
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ async function checkPriceContinuously() {
console.log(`Current Price: ${priceHistory.currentPrice}`);
const randomColor = Math.floor(Math.random() * 16777215).toString(16);
const randomColor = Math.floor(Math.random() * 16777215).toString(16).padStart(6, '0');
const embed = new EmbedBuilder()
.setColor(`#${randomColor}`)