discord-pokemon-go-snipe-bot
You have to grant Manage Messages to your bot
Simple chat bot to delete messages that not contain lat/long and pokemon name
So message for spottings need to be in this format
lat,long pokemon_name [IV] [extra info]
If not, the messages will be deleted automatically.
Requirements
- Python 3.4.2+
aiohttplibrarywebsocketslibraryPyNaCllibrary (optional, for voice only)- On Linux systems this requires the
libffilibrary. You can install in debian based systems by doingsudo apt-get install libffi-dev.
- On Linux systems this requires the
Usually pip will handle these for you.
Getting Started
git clone git@github.com:enjoy2000/discord-pokemon-go-snipe-bot.git
cd discord-pokemon-go-snipe-bot
pip3 install -r requirements.txt
cp config.json.sample config.jsonGrab your api_key (bot token) and put it in config.json, also modify your channel name
Finaly start your bot
python3 bot.py # For messages managementpython3 bot.py scrawl # For pokenipers.com scrawler*You can use some processes monitor like Monit or Supervisor to keep your bot alive.
Adding Bot To Your Channel
- Go to Discord Developers Page to create your bot.
- Open this url with your client_id to authorize your app
https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=0
