Slack Go Demo Socketmode Save

Demo the use of Socket Mode to build SlackBots in Golang. An attempt to improve https://github.com/slack-go/slack.

Project README

Building Slack Bots in Golang

This project demonstrates how to build a Slackbot in Golang; it uses the slack-go library and communicates with slack using the socket mode.

Working on this project inspired me to write a couple of articles that you can read here or on Medium (* I included friend links so you won't hit Medium Paywall)

Slack Bot Tutorials

Other topics

Test the project

Create a file test_slack.env with the following variables:

SLACK_BOT_TOKEN=xoxb-xxxxxxxxxxx
SLACK_APP_TOKEN=xapp-1-xxxxxxxxx

Run the application

go run main.go

Showcases

  1. Greetings
  2. App Home
  3. Slack commands

Greetings

Tutorial 2 : Properly Welcome Users in Slack with Golang using Socket Mode

App Home

Tutorial 1 : Build Your Slack App Home in Golang Using Socket Mode

Slash Commands

Tutorial 3: Implement Slack Slash Command with Golang using Socket Mode

References

Open Source Agenda is not affiliated with "Slack Go Demo Socketmode" Project. README Source: xNok/slack-go-demo-socketmode
Stars
43
Open Issues
2
Last Commit
2 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating