This Discord bot monitors the Steam Deck refurbished sale page and sends notifications when units become available.
- Create a new Discord Application and Bot at https://discord.com/developers/applications
- Copy your bot token
- Invite the bot to your server with proper permissions (Send Messages)
- Copy the channel ID where you want to receive notifications (Developer Mode must be enabled to copy channel IDs)
- Create a
.envfile with the following content:Replace the values with your actual bot token and channel ID. The CHECK_INTERVAL is in milliseconds (default: 60 seconds)DISCORD_TOKEN=your_discord_bot_token_here DISCORD_CHANNEL_ID=your_channel_id_here CHECK_INTERVAL=60000
- Install dependencies:
npm install - Start the bot:
node index.js
The bot will check the Steam Deck refurbished page every minute (configurable via CHECK_INTERVAL in .env) and send a message to the specified Discord channel when stock becomes available.