A pokemon notification bot.
This discord bot will allow users to subscribe to notifcations to be sent to them as a DM.
Requirements:
- Python3
- At least one discord bot user. Here is a link on how to set it up: https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
- At least one google maps api key with geocoding and static maps enabled. [optional] Here is another link on how to set that up: https://github.com/kvangent/PokeAlarm/wiki/Google-Maps-API-Key
How to install (for Windows):
git clone [email protected]:alphapokes/PokeBot.git
cd ./CounterSniper
python3 -m pip install -r requirements.txt
How to set up (always use Notepad++ and never notepad!):
- Rename
config.ini.example
toconfig.ini
in the config folder. - Set all required variables in config file.
- Create all webhook alarms files in
/alarms
using the templatealarms.json.example
and name them all in the formatalarms_*.json
- Create all webhook alarms files in
/filters
using the templatefilters.json.example
and name them all in the formatfilterss_*.json
- Create all webhook alarms files in
/geofences
using the templategeofence.txt.example
and name them all in the formatgeofence_*.json
- Create DM alarms file in
/user_dicts
using the templateuser_alarms.json.example
and name ituser_alarms.json
How to run:
python3 start_pokebot.py
- Type
!commands
in your commands channel if you need a list of commands.
Credit:
Thanks to Deadly for PokeAlarm which provided a framework for a lot of the code.
Thanks to BigFun for stylistic guidence and extensive testing.