A Pokémon GO Telegram bot to manage raids and quests.
- Install Python 3.6+
- Install the requirements
python -m pip install -r requirements.txt
- Create a Telegram bot using BotFather and get its token
- Rename the
config_blank.json
toconfig.json
and edit it by replacing the following:
BOT_TOKEN
with your Telegram Bot Token123456
with your Telegram ID (some commands will only respond to this ID), that can be found by starting a conversation with this boten
with any of the available languages (one of the folder names inside/locale
directory). If empty or set to an unavailable language it will be set to the main language (English).YOUR_USERNAME
with your Telegram username0
with your timezone (by default it's using GMT +0)
- Run the bot by using
python launcher.py
- Set the available raids with
/setraids
command - Add the bot to a supergroup and give it administrator rights
- Enjoy the bot!
- English
- Brazilian Portuguese
It's possible to translate the bot to your own language. To do so, follow this steps:
- Download POEdit
- Open the file
launcher.py.pot
with POEdit - Click on
Create new translation
and choose the desired language - Translate each of the bot's sentences
- Save the file and place it inside
locale
, following the pattern of thelocale\en
folder - Change the
config.json
file by replacing thelanguage
parameter to the name of the folder you just created on the step above - Start the bot
These 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 |
/about | All members | show a message with info about the bot | /about |
/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 level/pokémon (pokédex number or name),place,HH:MM |
/edit | All members | change the time and the Pokémon of a on going raid's list ** | /edit raid's ID HH:MM Pokémon name |
/cancel | All members | cancel a on going raid's list or delete a quest ** | /cancel r/q raid's/quest'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 r/q raid's/quest's ID |
/comment | All members | add informations to a raid's list or quest's report | /comment r/q raid's/quest's ID comment |
/setraids | Master only | set the current available raids in the game | /setraids pokédex number or name, pokédex number or name |
/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 |
/setlanguage | Master only | set the language of the bot | /setlanguage language |
** you must be the one who created it or the master's bot.
Only create raid's list with time in the futureCreate raid's list by using the Pokémon Pokédex NumberCreate raid's list for raids that are yet to hatchEdit raid list's raid bossCancel quests