A Discord WebHook bot that finds free games on IsThereAnyDeal.com using it's API and posts it directly to your discord server in a particular channel
Make sure you have Python 3 installed, and download the code to your machine.
Install the needed libraries: pip install Discord-Webhooks
Create an "app" to get an API Key from IsThereAnyDeal.
Get a Discord webhook set up on your server and edit settings.json
with your information.
You can also optionally use Task Scheduler in Windows to run this script only once a day.
Without editing anything, the deafult version excludes itch.io games, since they are many - and often bad games that overshadow more polished Steam games. Edit settings.json
to get rid of this restriction.
In setting.json
you can set tag@everyone
to true - in order to have a @ everyone pushed with the message. Otherwise, leave it to false and it will only post the game.
You can set a minimum price to look for (look for games under 5€ currently etc.). Change at settings.json
.
Optionally, you can change how the script filters stores.
You can change the currency as well, look at here for valid country codes.