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

Difficulties with Quickstart Documentation #23

Closed
troyfontaine opened this issue May 3, 2020 · 0 comments
Closed

Difficulties with Quickstart Documentation #23

troyfontaine opened this issue May 3, 2020 · 0 comments

Comments

@troyfontaine
Copy link

I'm attempting to follow the quickstart documentation and have encountered some difficulties. I'd be happy to contribute with some documentation updates-I just need to get my configuration working so I can be sure that I'm on the right track.

  • Is there an example logging.yaml file available? I'm not seeing very much log output while trying to troubleshoot from watcher and webhook.
  • The webhook doesn't appear to enter a monitoring loop as it is explained in the docs-but I am seeing the events passed through to omnibot
  • I see there is a PR for a number of fixes, possibly related to the deprecation of the legacy tokens? Legacy tokens are no longer available as of Tuesday May 5th, 2020
  • When using the bot_token and user_token for an app, you're no longer able to access emoji.list (I'm not seeing this error when using the branch api-fixes-and-logging-improvements
  • The bot does not appear able to reply to messages after being added to a channel (this is my primary problem currently)
  • watcher only emits the logging.yaml warning and then this UNLOCK_SCRIPT not cached.

My handlers for testing are:

  message_handlers:
    - match: ".*(@here|@channel).*"
      match_type: "regex"
      description: "Warn on @here or @channel."
      bots:
        "my_slack":
          - "devbot"
      callbacks:
        - module: "omnibot.callbacks.message_callbacks:specials_callback"
          kwargs:
            channels:
              random:
                message: "Please don't `{special}` as it notifies {member_count} people."
                reaction: "broken_heart"
    - match: "Got milk*"
      match_type: "regex"
      description: "Got milk?"
      bots:
        "my_slack":
          - "devbot"
      callbacks:
        - module: "omnibot.callbacks.message_callbacks:specials_callback"
          kwargs:
            channels:
              random:
                message: "I LOVE MILK!!!"
                reaction: "heart"
    - match: ""
      match_type: "command"
      match_mention: True
      description: "testing"
      canned_response: "PROCESSING..."
      bots:
        "my_slack":
          - "devbot"
      callbacks:
        - module: "omnibot.callbacks.message_callbacks:test_callback"
          kwargs:
            text: 'test'

Thanks!

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