Skip to content

Commit

Permalink
Update yen inventory value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 18, 2024
1 parent c695a80 commit f8ea3a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yen.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,13 @@ async function UpdateYenChannel() {
const channel = await guild.channels.resolve(yenChannelId);
await channel.bulkDelete(99);
await DiscordUtil.SendLongList(lines, channel);
const jeffSteamInventoryValue = 254406;
const jeffSteamInventoryValue = 356772;
const reserveRatio = jeffSteamInventoryValue / totalYen;
const formattedReserveRatio = parseInt(reserveRatio * 100);
const formattedActiveYenPercent = parseInt(100 * activeYen / totalYen);
let message = '';
message += `Total yen in circulation: ¥ ${totalYen}\n`;
message += `Liquidation value of Jeff's Rust skins (April 2024): ¥ ${jeffSteamInventoryValue}\n`;
message += `Liquidation value of Jeff's Rust skins (Oct 2024): ¥ ${jeffSteamInventoryValue}\n`;
message += `Reserve ratio: ${formattedReserveRatio}%\n`;
message += `All recently active members (90d): ¥ ${activeYen} (${formattedActiveYenPercent}%)\n`;
message += `Inactive members: ¥ ${inactiveYen}\n`;
Expand Down

0 comments on commit f8ea3a0

Please sign in to comment.