sheldonhull / go-slack-pilot

Testing out go-slack pilot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Testing out go-slack pilot

License:Apache License 2.0


Languages

Language:Go 96.6%Language:Dockerfile 3.2%Language:Shell 0.1%