Skip to content

Useful Slack utility that helps you send messages to all members in a specific Slack community

Notifications You must be signed in to change notification settings

ninjas-code-official/slackline

 
 

Repository files navigation

Slackline

A tool used to send Slack DMs to a whole channel

Slackline gives a member of a Slack community the power to send a DM message to all members of a specific channel in that community.

with great power comes great responsibility

Features

  • Get full list of users from a specific Slack channel in a Slack community
  • Send customized (personal) message to every member of that Channel

Usage

export XOXC_TOKEN=YOUR_XOXC_TOKEN
export D_TOKEN=YOUR_D_TOKEN
python slackline.py CHANNEL_ID MESSAGE

Note: To send a Customized Message with users first name, include "[name]" in your message.

  1. How to get CHANNEL_ID? From the browser, go to https://SLACK_COMMUNITY.slack.com, click the relevant channel and follow the instructions:

Get Channel ID

  1. How to get XOXC_TOKEN? From the browser, go to https://SLACK_COMMUNITY.slack.com, open developer tools (F12 in most cases) and follow the instructions:

Get XOXC Token

  1. How to get D_TOKEN? From the browser, go to https://SLACK_COMMUNITY.slack.com, open developer tools (F12 in most cases) and follow the instructions:

Get D Token

About

Useful Slack utility that helps you send messages to all members in a specific Slack community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%