Very simple tool to send Slack messages. Built into a docker image
When the message tags a Slack user (<@U...>) who is not a member of the target
channel, the mention is otherwise silent. Set SLACK_MENTION_MEMBERSHIP_MODE to
act on every user tagged in the message:
none(default) — do nothing, current behavior.invite— invite the tagged users to the channel. Requires thechannels:write.invites(public) orgroups:write(private) scope, and the bot must already be a member of the channel (otherwise the invite fails withnot_in_channel).notify— DM each tagged user a link to the channel. Requiresim:writeandchat:write. The DM is always sent; membership is not checked first.
Failures here are logged but never fail the run — posting the message is the primary success.
Requires a bot token (xoxb-...). See Slack docs to create one: https://api.slack.com/quickstart.
Run the test.sh script.