This is a Node.js implementation of a Pokemon GO Discord notification bot created by Pyorot. The original source is available on Pastebin.
The bot is based on an external configuration. In the original implementation, this was obtained from the JSONBlob.com service, but it was swapped for the local configuration file in this implementation.
At the beginning, the query is made to the mapping service, then the response is being scanned for the Pokemon that pass the notification thresholds. When those are selected, more details over the location are scrapped from external sources (Postcodes.io, Nominatim, Google Maps) and the final package is then posted on selected Discord server and channels. There is also Facebook Messenger integration available.
It was created originally to use LondonPogoMap, but can be adjusted to other similar sites with some effort.
- Google Maps API key
- LocationIQ API key
- Firebase API private key
- Discord API key (if you want to use Discord notifications)
- Facebook Messenger API key (if you want to use Facebook notifications)
After standard npm install on the project, copy the configuration.example.json file to configuration.json and customise the values to fit your details.
Run the bot with npm start command.
The code is licensed under the ISC.