Skip to content

Commit

Permalink
feature: 1 emoji per 500k$
Browse files Browse the repository at this point in the history
  • Loading branch information
seleniumforest committed Oct 7, 2022
1 parent dc9045f commit 25ff2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrations/telegram.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const notifySifchainSwap =


//1 emoji for every 100k usd
const repeatEmoji = (emoji, price) => emoji.repeat(price && price > 0 ? Math.min(Math.ceil(price / 300000), 10) : 1);
const repeatEmoji = (emoji, price) => emoji.repeat(price && price > 0 ? Math.min(Math.ceil(price / 500000), 10) : 1);
const getUsdPriceString = (usdPrice, amount) => usdPrice ? `(USD $${formatNum(usdPrice * amount)})` : "";

const validityPeriod = 1000 * 60 * 30; //30 min
Expand Down

0 comments on commit 25ff2d3

Please sign in to comment.