Skip to content
Eugenio Turano edited this page Sep 12, 2016 · 23 revisions

###Migration from previous versions update guide

Installation:

  1. Clone the repository https://github.com/eugenio412/PogomBOT.git

  2. Install the dependencies sudo pip3 install -r requirements.txt -U

  3. Go to telegram and talk to the @BotFather

  4. Copy config-bot.json.example to config-bot.json with mv config-bot.json.example config-bot.json

  5. Create a new bot and COPY THE TOKEN INSIDE the file config-bot.json in the place of TOKEN

  6. for SCANNER_NAME there are 4 options:

  • pogom
  • pokemongo-map if you are using the standard version
  • pokemongo-map-iv for the MangoScango fork, that allows you to have Iv and moves in the notification
  1. for DB_TYPE there are two options:
  • mysql
  • sqlite (most common one)
  1. DB_CONNECT:
  • in case of SQLite you should place the pogom folder parh, it should be something like /home/user/pogom or /home/user/PokemonGo-Map

  • in case of MYsql should have the following syntax: "DB_CONNECT": "mysql://root:mysqlpassword@localhost:3306/databasename",

  • SEND_MAP_ONLY: can be true or false, it determines if the bot send only the location or also a message with pokemon name for fast notification reading

  1. run python3.4 pogobot.py
  2. Go to telegram and write /start to !!YOUR!! bot (not the same of the picture please)
  3. to be notified of a certain pokemon write to it /add 1 changing the pokemon number as you want
  4. to be notified by pokemon RARITY write /addbyrarity 5 changing the number from 5 (ultrarare) to 1 common
  5. save your scanner pokemons before shutting down the bot with /save, than you can restore your notifications with /load at the next start up

If you want to dig deeper in the script go and first check the telegram bot api or check the examples made in the python-telegram-bot repository and their wiki

NOTE: if you stop the bot it will forget all the pokemon to scan, you should set it again

Troubleshooting

Our troubleshooting guide is at Troubleshooting

ISSUES AND PULL REQUESTS ARE WELCOME

Commands

commands are at commands

Clone this wiki locally