Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 844 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 844 Bytes

slack-bulkinviter

Super quick and dirty Python script to bulk invite ALL users in a slack team to a specific channel. We need to do this regulary with Counterparty when we create a new channel that everyone should be in, or move things around.

To use:

  • Install the slacker library via pip
  • Get an API key
  • Optionally, if not using --apikey, create a file in the same directory as slack-bulkinviter.py containing your API key and pass the filename to the argument --apikey or -k
  • Execute the script, passing the name of the channel where all users will be invited, such as ./slack-bulkinviter.py --channel mychannel --apikey myapistring
  • Sit back and let it do its work