Refactor/dev 186 make the anticapture slack bot public available on the marketplace#197
Merged
LeonardoVieira1630 merged 11 commits intoJan 5, 2026
Conversation
pikonha
reviewed
Dec 22, 2025
pikonha
reviewed
Dec 22, 2025
pikonha
reviewed
Dec 22, 2025
pikonha
reviewed
Dec 22, 2025
pikonha
approved these changes
Dec 22, 2025
Co-authored-by: lucas picollo <lucaspicolloo@gmail.com>
Co-authored-by: lucas picollo <lucaspicolloo@gmail.com>
Co-authored-by: lucas picollo <lucaspicolloo@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR refactors the Slack bot integration to use HTTP receiver mode instead of Socket Mode, making it compatible with public Slack marketplace distribution.
Changes
Configuration
SLACK_APP_TOKENenvironment variable (no longer needed for HTTP mode)API_PORT_SLACK(default: 3002) to configure HTTP server port.env.exampleanddocker-compose.ymlwith new configurationSlack Client (
apps/consumers/src/clients/slack.client.ts)HTTPReceiver/slack/eventssocketMode: trueto HTTP-based event handlingappTokenparameter from constructor and Bolt app initializationTests
appTokenreferencesWhy This Change?
Socket Mode is designed for development/internal apps and requires an app-level token. HTTP receiver mode is required for apps distributed on the Slack marketplace, as it uses event subscriptions with publicly accessible endpoints.