A bot that monitors rpilocator and send available offers to a Discord webhook
There is a known bug of the bot sending empty embed!
- Install NodeJS.
- Download or clone the project.
- Run
npm install
. - In the config.json, you need to edit the WEBHOOK URL and the COOKIE:
{
"discordWebhookURL": "https://discord.com/api/webhooks/XXX/XXX", //Discord WebHook URL
"cronDelay": "*/60 * * * * *", //cron job delay, this is each 60 seconds
"keywords": ["RPi 4 Model B - 4GB RAM", "RPi 3 Model A+ - 512MB RAM"], //the type or raspberry you want, see https://rpilocator.com for examples
"ownerId": "123456789012345678" //you're Discord ID for the ping
}
- Run
node index.js
ORnpm start
.
See the license