-
Notifications
You must be signed in to change notification settings - Fork 17
Home
Eugenio Turano edited this page Sep 12, 2016
·
23 revisions
###Migration from previous versions update guide
- Clone the repository
https://github.com/eugenio412/PogomBOT.git - Install the dependencies
sudo pip3 install -r requirements.txt -U - Go to telegram and talk to the @BotFather
- Copy
config-bot.json.exampletoconfig-bot.jsonwithmv config-bot.json.example config-bot.json - Create a new bot and COPY THE TOKEN INSIDE the file
config-bot.jsonin the place of TOKEN - 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
- for DB_TYPE there are two options:
- mysql
- sqlite (most common one)
- DB_CONNECT:
- in case of SQLite you should place the pogom folder parh, it should be something like
/home/user/pogomor/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
trueorfalse, it determines if the bot send only the location or also a message with pokemon name for fast notification reading
- run
python3.4 pogobot.py - Go to telegram and write /start to !!YOUR!! bot (not the same of the picture please)
- to be notified of a certain pokemon write to it
/add 1changing the pokemon number as you want - to be notified by pokemon RARITY write
/addbyrarity 5changing the number from 5 (ultrarare) to 1 common - 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
Our troubleshooting guide is at Troubleshooting
commands are at commands