THIS IS NOT A SELFBOT, I WILL NOT HELP YOU CREATE A SELFBOT.
Discord bot that will help your users by announcing the pokemon that just appeared.
Instructions
npm install
token.txt
and paste the token into the file.node app.js
https://discordapp.com/oauth2/authorize?&client_id={insert your client id here}&scope=bot
. Please note that you will only be able to invite the bot to your own server.If you need any help setting this up, feel free to open an issue.
How it works
This bot works with a database of hashes for every pokemon image, every hash corresponds to a pokemon name. When pokecord announces that a wild pokemon has appeared, the bot gets the image and converts it into a .jpg. It then hashes it and finds the value in the map.
Please note that this is a quick and dirty solution, I will remove this message when I've properly dealt with errors and cleaned up the code.