-
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:
copy that and paste it to the @botfather after stat you writed 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"
}
That's usually because the pogomBOT files were not moved to the pogom folder or because the database had a different user than the pogobot script, example:
output of ls -lah:
In this case the pogom.db is owned root (means that you usuallu run sudo runserver.py while the pogobot.py is run without the sudo, the best is not to run anything with sudo, it usually messes things up)
Solutions:
-
chown user:user pogom.db* config.jsonand runrunservery.pywithout root (better solution!) - run pogobot.py with sudo
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