PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Telegram bot integration

Open weirdapps opened this issue 10 years ago • 7 comments

Short Description

Telegram bot integration for remote progress updates

Possible solution

Integrate a telegram bot feeding mechanism so that users can see their bots progress while away

How it would help others

Users will be able to remotely check progress and see if bot is active and request basic stat updates: active time, XP gained, stardust gained, pokemons caught, XP per hour, stardust per hour, pokemons per hour, item list, pokemon list ordered by highest cp, iv, time, etc.

*by the way, many thanks for the effort you are putting in. Great experience so far.

weirdapps avatar Aug 20 '16 12:08 weirdapps

that's great! Any chance of instructions? Guessing put the .py file where you want, add the parameters in the config file. Then what?

weirdapps avatar Aug 21 '16 20:08 weirdapps

i added instructions

askovpen avatar Aug 21 '16 20:08 askovpen

much appreciated, thanks!

weirdapps avatar Aug 21 '16 20:08 weirdapps

@askovpen That's great solution if we want to keep things separate, but it uses files and etc. For example, if we have distributed Docker configuration -- it would not be convenient to manage those things. I think that in terms of original request maybe it would be better to implement Telegram logging handler. By the way, it is very easy because it is almost done already: https://github.com/python-telegram-bot/python-telegram-bot This way we may selectively send some logging messages to Telegram or buffer them and send in bulk.

LitRidl avatar Aug 22 '16 05:08 LitRidl

plugin for bot: https://github.com/askovpen/telegram-pgo-plugin

askovpen avatar Aug 25 '16 13:08 askovpen

Merged

mjmadsen avatar Aug 27 '16 14:08 mjmadsen