-
Notifications
You must be signed in to change notification settings - Fork 17
Troubleshooting
I know, write some command on the phone is not the best, the command list is on our command wiki, you can add the command list using this format:
help - help
add - add a pokemon
addbyrarity - add with rarity
clear - clear all the pokemon
rem - remove a pokemon
list - list all the scanned pokemon
save - saves the configuration
load - load a saved configuration
lang - Sets pokemon names language.
radius - Search radius in m
remloc - Clear location data
copy that and paste it to the @botfather after you wrote to him /setcommands
That's usually because the token inside the config-bot.json file is not added inside the quotation marks, example:
right:
{
"TELEGRAM_TOKEN": "11.....bvesj",
"DEFAULT_LANG": "en"
}
wrong:
{
"TELEGRAM_TOKEN": 11.....bvesj,
"DEFAULT_LANG": "en"
}
usually that happens for two reasons:
- because you are using a different user for the database and bot, like root for pogom and user for the bot
Solution:
-
chown user:user pogom.db* config.json
and runrunserver.py
without root (better solution!) - run pogobot.py without sudo
- because you are not using an absolute path for the pogom folder
Solution
For Ubuntu usually is something like /home/user/Download/pogom
For Windows something like D:\\users\\something
Traceback (most recent call last): File "pogobot.py", line 19, in from telegram.ext import Updater, CommandHandler, Job ImportError: No module named 'telegram'
That happens when you either run the requirements only with pip instead of pip3 or you forgot to install the requirements
If it's a bug please open an Issue If you want to contact the creators write to our telegram group: http://telegram.me/pogomBOTgroup