Join the Slack channels listed in Yaml.
With a new season comes a new breeze. This program simplifies Slack channel invitations for new participants. We onboarders have to invite new members to countless channels. Slack has an automatic channel join setting. However, if there are too many non-channels that fall under this category, they are not available. AutoJoinzy
solves that problem!
Download code.
git clone https://github.com/VTRyo/AutoJoinzy
cd AutoJoinzy
Issue User token in Slack App.
Permissions are channels:write
and channels:read
- Create an App with
Create New App
2. Authorization with User Token Scopes
on OAuth & Permissions
page.
3. channels:write
and channels:read
- Press "Install To Workspace" to install the App into the workspace
- Copy the
User OAuth Token
and register it asSLACK_TOKEN
in the program execution environment variable
Describe the name of the channel you wish to join.
NOTE: Must be a public channel.
# sample
channels:
- times_ryo
- programming
- yatteiki
Run the Go program.
go run main.go