Skip to content

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

License

Notifications You must be signed in to change notification settings

xNok/slack-go-demo-socketmode

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages