Files
Microsoft-Rewards-Bot/docs/buy-mode.md
2025-11-01 20:44:31 +01:00

2.1 KiB

💳 Buy Mode

Manually redeem rewards while monitoring points


💡 What Is It?

Launches browser and passively monitors your points balance while you manually shop/redeem.

Use case: Safely redeem gift cards without automation interference.


Quick Start

npm start -- -buy your@email.com

What happens:

  1. Opens 2 browser tabs:
    • Monitor tab — Background point tracking (auto-refresh)
    • Your tab — Use this for manual purchases
  2. Monitors points every ~10 seconds
  3. Alerts you when spending detected

🎯 Example Usage

Redeem Gift Card

npm start -- -buy myaccount@outlook.com
  1. Script opens Microsoft Rewards in browser
  2. Use the user tab to browse and redeem
  3. Monitor tab tracks your balance in background
  4. Get notification when points decrease

⚙️ Configuration

Set max session time:

Edit src/config.jsonc:

{
  "buyMode": {
    "enabled": false,
    "maxMinutes": 45
  }
}

🔔 Notifications

Buy mode sends alerts when:

  • 💳 Points spent — Shows amount and new balance
  • 📉 Balance changes — Tracks cumulative spending

Example alert:

💳 Spend detected (Buy Mode)
Account: user@email.com
Spent: -500 points
Current: 12,500 points
Session spent: 1,200 points

🛠️ Troubleshooting

Problem Solution
Monitor tab closes Script auto-reopens it
No spending alerts Check webhook/NTFY config
Session too short Increase maxMinutes in config

⚠️ Important Notes

  • Browser visible — Always runs in visible mode
  • No automation — Script only monitors, never clicks
  • Safe — Use your browsing tab normally
  • Notifications — Uses existing webhook/NTFY settings

📚 Next Steps

Setup notifications?
Discord Webhooks
NTFY Push

Back to automation?
Getting Started


← Back to Hub | Config Guide