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

reference channels by ID not label in slack API requests #166

Open
yasunariw opened this issue Nov 11, 2024 · 0 comments
Open

reference channels by ID not label in slack API requests #166

yasunariw opened this issue Nov 11, 2024 · 0 comments

Comments

@yasunariw
Copy link
Collaborator

Slack docs instruct to refer to channels by their ID. We still pass the channel names specified in user-provided monorobot.json file directly to chat.postMessage requests (and possibly others).
Will need some channel label -> ID mapping that gets initialized on startup and refreshed periodically, similar to what we do for usernames.

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