Skip to content
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

How to use Telegram bot #5401

Closed
iruy opened this issue Sep 12, 2016 · 0 comments
Closed

How to use Telegram bot #5401

iruy opened this issue Sep 12, 2016 · 0 comments

Comments

@iruy
Copy link

iruy commented Sep 12, 2016

Expected Behavior

Running telegram bot

Actual Behavior

(The telegram token is correctly set in auth.json)
Not sure it is running. I set it to alert me when any pokemon above 0.5 IV is caught, but no alerts come through, so I guess the Telegram bot is not running... What do I have to do to make it work?

Your FULL config.json

"tasks": [
    {
      "type": "TelegramTask",
      "config": {
        "enabled": true,
        "master": "****",
        "// old syntax, still supported: alert_catch": [
          "all"
        ],
        "// new syntax:": {},
        "alert_catch": {
          "all": {
            "operator": "or",
            "cp": 1300,
            "iv": 0.5
          },
          "Snorlax": {
            "operator": "or",
            "cp": 900,
            "iv": 0.9
          }
        }
      }
    },
@iruy iruy changed the title Hot to use Telegram bot How to use Telegram bot Sep 12, 2016
@iruy iruy closed this as completed Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant