Serverless bot that automatically monitors free game giveaways on popular platforms like **Epic Games**, **Steam**, and **PlayStation Plus**. It's designed to run on a schedule, check for new freebies, and send timely, well-formatted notifications to a Telegram channel, ensuring you never miss a deal.
✔Multi-Platform Monitoring: Tracks free games on Epic Games, Steam, and PlayStation Plus (both Monthly and Catalog games).
✔Telegram Notifications: Sends clean, formatted messages to a specified Telegram channel for new game announcements.
✔Admin Commands: Allows the administrator to control the bot with Telegram commands:
✔`/check`: Instantly triggers a check for new free game giveaways.
✔`/stats`: Displays detailed statistics about the number of games stored in the database.
✔`/help`: Shows a help message about the bot's capabilities and available commands.
✔Persistent Storage: Utilizes Upstash (Redis) for persistent storage in production and a local JSON file for development, preventing duplicate notifications.
✔Serverless Deployment: Built to run as a cost-effective serverless function on platforms like Vercel.
✔Scheduled Checks: Uses cron jobs (configured in `vercel.json`) to automate periodic checks for new giveaways.
✔Highly Configurable: Easily enable or disable platform modules and tweak bot behavior through a central settings file.
✔Improved Messaging Architecture: All message formatting and sending logic is centralized in the `telegram.js` module, making the code cleaner and easier to maintain.