diff options
Diffstat (limited to 'modules/core/module-billing.js')
| -rw-r--r-- | modules/core/module-billing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/module-billing.js b/modules/core/module-billing.js index b353e79..87f8dc3 100644 --- a/modules/core/module-billing.js +++ b/modules/core/module-billing.js @@ -142,7 +142,7 @@ class BillingModule { if (bal && bal.plan_allowance) { const pa = bal.plan_allowance; - p(`🎁 Included usage (${pa.plan}): $${Number(pa.used_usd).toFixed(2)} of $${Number(pa.limit_usd).toFixed(2)} this month — $${Number(pa.remaining_usd).toFixed(2)} left, then your balance pays`, 'info'); + p(`🎁 Included usage (${pa.plan}): $${Number(pa.used_usd).toFixed(2)} of $${Number(pa.limit_usd).toFixed(2)} ${pa.period === 'day' ? 'today' : 'this month'} — $${Number(pa.remaining_usd).toFixed(2)} left, then your balance pays`, 'info'); } if (s && s.msgs) { |