Typo
This commit is contained in:
parent
400d0b4dfe
commit
79f7d4763a
2
main.js
2
main.js
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue