A Pokémon GO Telegram bot to manage raids and quests.
- Update autobackup.py
- update dockerfile
- run dockerfile
- Install Python 3.6+
- Install the requirements
python -m pip install -r requirements.txt - Create a Telegram bot using BotFather and get its token
- Edit the
config.jsonby replacing the following:
BOT_TOKENwith your Telegram Bot Token123456with your Telegram ID (some commands will only respond to this ID), that can be found by starting a conversation with this botenwith any of the available languages (one of the folder names inside/localedirectory). If empty or set to an unavailable language it will be set to the main language (English).YOUR_USERNAMEwith your Telegram username
- Add the bot to a supergroup and give it administrator rights
- Enjoy the bot!
It's possible to translate the bot to your own language. To do so, follow this steps:
- Download POEdit
- Open the file
launcher.py.potwith POEdit - Click on
Create new translationand choose the desided language - Translate each of the bot's sentence
- Save the file and place it inside
locale, following the pattern of thelocale\enfolder - Change the
config.jsonfile by replacing thelanguageparameter to the name of the folder you just created on the step above - Start the bot
This are the commands when using the English version of the bot. You can change them (or not) by translating the bot to your own language.
| Command | Permission | Function | Usage |
|---|---|---|---|
| /help | All members | show a help message | /help |
| /trainer | All members | set your team and level | /trainer initial letter/team name/color 30 |
| /level | All members | update your level but only works after the /trainer command has already been used | /level 31 |
| /raid | All members | starts a new raid's list | /raid pokémon,place,HH:MM |
| /edit | All members | change the time of a on going raid's list | /edit raid's ID HH:MM |
| /editname | All members | change the name of a pokemon on goin raid's list | /editname raid's ID pokemon |
| /cancel | All members | cancel a on going raid's list | /cancel raid's ID |
| /end | All members | finish a on going raid's list | /end raid's ID |
| /quest | All members | report a found quest | /quest task,place,reward |
| /share | All members | send a raid's list or quest's report to another group so that both are automatically updated in the groups it was shared to | /share q/r raid's/quest's ID |
| /comment | All members | add informations to a raid's list or quest's report | /comment q/r raid's/quest's ID comment |
| /setraids | Master only | set the current available raids in the game | /setraid pkmn_number,pkmn_number |
| /getraids | Master only | get the list of current available raids in the game | /getraids |
| /gettrainers | Master only | get the list of users that have set their trainer's information | /gettrainers |