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

[Add] Implement Slack Socket Mode support #1436

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Oct 15, 2024

  1. [Add] Implement Slack Socket Mode support

    - Add Slack Socket Mode handler in server.py
    - Create start_socket_mode function in slack/app.py
    - Add example script for testing Slack websocket handler
    
    Introduce Slack Socket Mode support alongside existing HTTP handler.
    This allows for real-time message processing using websockets when
    SLACK_WEBSOCKET_TOKEN is set. The HTTP handler remains active when
    only SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET are provided.
    JCMarques15 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7c2e23c View commit details
    Browse the repository at this point in the history
  2. [Fix] Correct comment for Slack socket handler env variable

    - Update comment to mention "SLACK_WEBSOCKET_TOKEN" instead of
      "SLACK_APP_TOKEN"
    
    Fix a typo in the comment describing the environment variable check
    for the Slack socket handler. This change aligns the comment with
    the actual code implementation, improving code readability and
    preventing potential confusion.
    JCMarques15 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c58c1eb View commit details
    Browse the repository at this point in the history
  3. [Fix] Correct Slack token reference in app.py docstring

    - Update docstring to mention "SLACK_WEBSOCKET_TOKEN" instead of
      "SLACK_APP_TOKEN"
    
    Correct the documentation in the `start_socket_mode` function to
    accurately reflect the environment variable used for Slack
    authentication. This change aligns the docstring with the actual
    code implementation, improving clarity and preventing potential
    confusion for developers.
    JCMarques15 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f1aa978 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    470d5ac View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    ef30091 View commit details
    Browse the repository at this point in the history