๐ฎ Never miss a Steam sale again! This bot monitors your wishlist games and instantly notifies you through Discord when prices drop. Perfect for gamers who want to grab their favorite titles at the best prices.
- Sale Monitoring: Automatically checks game prices via Steam API hourly
- Discord Notifications: Sends alerts to your Discord channel when sales are detected
- User Preferences: Stores country code, language, and Discord webhook settings
- Game Database: Maintains game information in SQLite
- Sale Tracking: Prevents duplicate notifications by tracking active sales
- Scan Multiple Games: Track multiple game sales at once instead of just one per session.
- Price Target Alerts: Customize notifications for specific price thresholds or any discount
- Clear Screen System: Automatically refreshes display after each question for better readability
- Fetches game details from Steam API using the game's
app_id
- Compares current price with previous price to detect sales
- Checks against user-defined price targets when configured
- Sends Discord notification with game name, price, discount, and image
- Manages notification frequency to prevent Discord webhook rate limiting
- Saves sale details to prevent duplicate notifications
- Removes games from tracking when sales end
- Refreshes interface after each user interaction for better readability
Here's how the sale notifications appear in your Discord channel:
The notification includes the game's thumbnail, pricing details, and a direct link to the Steam store page.
This project requires Python 3.x and the following packages:
requests
logging
- Clone the repository:
git clone https://github.com/AliAlboushama/Steam-Game-Price-Alert.git
cd Steam-Game-Price-Alert
- Install required package:
pip install requests
pip install logging
-
Set up Discord webhook:
- Open Discord server settings
- Create webhook in desired channel
- Copy webhook URL
-
Run the script:
python3 main.py
The script will prompt you to enter:
- Country code (e.g., US, UK)
- Language code (e.g., en for English)
- Discord webhook URL
- Bot name and avatar URL
These settings are saved in user_info.json
for future use.
You can add games by providing:
- Steam game link (e.g., https://store.steampowered.com/app/12345/)
The script automatically checks for sales hourly and sends Discord notifications when sales are detected.
- Go to Discord server settings
- Navigate to Integrations > Webhooks
- Create new webhook
- Copy URL for script configuration
You can customize:
- Bot name
- Avatar image (via URL)
Q: How do I add multiple games?
A: Run the script and select the option to add more games when prompted.
Q: Can I change how often prices are checked?
A: Yes, modify the time.sleep(3600)
value in the script to adjust the frequency (in seconds).
Q: Not receiving Discord notifications?
A: Verify your webhook URL is correct and the webhook is enabled in your Discord server.
Contributions are welcome! To contribute:
- Fork the repository
- Create feature branch
- Submit pull request with detailed description
This project is licensed under the MIT License. See LICENSE file for details.
For issues or questions:
- Open an issue on GitHub