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

Org level bots.info requires team_id #101

Open
gdelaney opened this issue Jan 3, 2024 · 0 comments
Open

Org level bots.info requires team_id #101

gdelaney opened this issue Jan 3, 2024 · 0 comments

Comments

@gdelaney
Copy link
Contributor

gdelaney commented Jan 3, 2024

Since switching to using a bot installed at the Org level in Slack, the call to bots.info requires the team_id of the bot/app when doing the look up. This is a follow on from #96

https://api.slack.com/methods/bots.info - The team_id is required if using a org level token.

The only place I could see to grab this info was in https://github.com/errbotio/err-backend-slackv3/blob/main/src/slackv3/slackv3.py#L354 when we have all of the event_data from the event api. After that we only pass back the event (message).

I am working on a PR for the change what would grab the team_id from the event_data and pass that into the handers with a default of None.

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