This commit is contained in:
Wizzard 2024-03-13 23:18:50 -04:00
parent 400d0b4dfe
commit 79f7d4763a
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ async function checkPriceContinuously() {
if (lastKnownPriceAtStartup !== null && (parseFloat(price) - lastKnownPriceAtStartup >= 2.5)) { if (lastKnownPriceAtStartup !== null && (parseFloat(price) - lastKnownPriceAtStartup >= 2.5)) {
const announcementsChannel = await client.channels.fetch(announcementsChannelId); const announcementsChannel = await client.channels.fetch(announcementsChannelId);
await announcementsChannel.send(`@everyonle Solana price has increased significantly! Current price: $${price}`); await announcementsChannel.send(`@everyone Solana price has increased significantly! Current price: $${price}`);
lastKnownPriceAtStartup = parseFloat(price); lastKnownPriceAtStartup = parseFloat(price);
} }