-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram bot /info should return exactly what UpdateLiveStats does - any more ideas #5236
Comments
yep. the code needs refactoring. |
I used it. At first it was good. Then, too many messages, so i disabled it. |
Parts of this "issue" (it is a feature request, by the way, please update the title) have already been implemented in #5238 (merged into dev already; you can subscribe to whatever events you like, including log_stats) and in #5274 (adds display of top X pokemon, plus some backend preparations for pokemon manipulations). Yes, I liek the idea of having Telegram as an own kind-of-frontend. Actually, this all logic should go into a base class, inherited by Telegram, Discord etc etc. Hell, old-school guys could even use IRC or FidoNet to control the bot... |
@DBa2016 Yes it should. Maybe I'll look into it tomorrow. |
Strange, I've just tried to pull from dev 1 hour ago and there's no changes. Maybe it's been updated since yesterday, but I can't see any change in sample config file, and Telegram is not notifying anything now. |
@DBa2016 thanks for the PR. by |
man this will require quite some work...!
|
With the recent merge can this now be closed? |
Nevermind the features you asked for havent been implemented. |
I have not tried it yet, but thanks you. |
@javajohnHub I've pulled the latest dev branch few hours ago and /info still giving the same old stuff, like number of pokemon caught in the past 24 hours. |
So even though you can subscribe to that data....you would still like a command to get updatelivestats? |
I've been using Telegram bot and I'm in love with it. I can totally replace the Web UI for keeping track of what the bot's doing, and where.
Here's my two cent : /info should return more relevant data - the best bet is to be exactly what people have set up for "UpdateLiveStats", instead of the current static set of info. For example, the number of catches over the past 24 hours wouldn't be helpful in any circumstance, with the daily catch limit on.
Like-wise, /inventory (to be added) should works as same as "UpdateLiveInventory";
/show_best would show you your best pokemon
Furthermore, certain commands can be issued to the bot, if possible
and much more if it is possible for the Telegram to control other tasks.
In fact, Telegram can even become our own app client with push notification for events, and awaiting for our actions.
The text was updated successfully, but these errors were encountered: