Skip to content

Commit

Permalink
chore(rates): update rich dad threshold to 5.20
Browse files Browse the repository at this point in the history
  • Loading branch information
joaofnds committed Jun 19, 2024
1 parent 96c5d41 commit 4b48485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crons/rates-bot.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class RatesBot {
const usdbrl = (1 / rates.USD) * rates.BRL;
const btcbrl = (1 / rates.BTC) * rates.USD;

const bot = usdbrl >= 5 ? this.richDadBot : this.poorDadBot;
const bot = usdbrl >= 5.2 ? this.richDadBot : this.poorDadBot;

await bot.send(
[
Expand Down

0 comments on commit 4b48485

Please sign in to comment.