Sterling Paramore
09/13/2022, 9:00 PMAdam Bloom
09/13/2022, 9:03 PMchat_postMessage
, then you only need chat:write
Sterling Paramore
09/13/2022, 9:10 PMAdam Bloom
09/13/2022, 9:12 PMWebClient
(https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-slack/dagster_slack/resources.py), so you can do anything in the slack SDK that you provide your bot user permission for! https://slack.dev/python-slack-sdk/web/index.htmlSterling Paramore
09/13/2022, 9:25 PMslack_sdk.errors.SlackApiError: The request to the Slack API failed. (url: <https://www.slack.com/api/chat.postMessage>)
The server responded with: {'ok': False, 'error': 'not_in_channel'}
Clearly I missed a step in setting up the bot that isn’t explained in the dagster slack docs.Adam Bloom
09/13/2022, 9:26 PMSterling Paramore
09/13/2022, 9:29 PM+
button in the channel like I can when I want to invite people. Instead, I had to @dagsterbot
in the channel, which sent the invite.Adam Bloom
09/13/2022, 9:30 PM/add
or /invite
tooerin
09/21/2022, 5:39 PMDagster Bot
09/21/2022, 5:39 PM