Periodically sends free / highly scored posts from r/GameDeals to Discord.
Make sure you have Node.js installed.
You'll need to create a Webhook for the channel you want to populate:
Right click on the channel > Edit Channel > Integrations > Webhooks > Create Webhook
git clone https://github.com/nunogois/discord-gamedeals.git
yarn
ornpm install
- Add a new
.env
file in the folder with the following format:WEBHOOK=https://discord.com/api/webhooks/...
with your webhook yarn start
ornpm run start
- Create repo;
- Get r/GameDeals JSON;
- Add local scan.json file for config and keeping track of sentPosts;
- Add minScore filter;
- Add freeRegex filter;
- Add Webhook;
- Send posts embedded to Discord (https://www.npmjs.com/package/discord-webhook-node);
- Add setup to README;