https://github.com/droxey/goslackit
🤖 [BEW2.5] Starter slackbot for the challenge presented in class.
https://github.com/droxey/goslackit
concurrency fork-to-finish golang golang-project goroutines makeschool slackbot starterpack
Last synced: 5 months ago
JSON representation
🤖 [BEW2.5] Starter slackbot for the challenge presented in class.
- Host: GitHub
- URL: https://github.com/droxey/goslackit
- Owner: droxey
- License: mit
- Created: 2019-02-12T12:00:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T00:26:25.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T22:32:33.592Z (almost 2 years ago)
- Topics: concurrency, fork-to-finish, golang, golang-project, goroutines, makeschool, slackbot, starterpack
- Language: Go
- Homepage: https://make.sc/goslackbot
- Size: 297 KB
- Stars: 4
- Watchers: 1
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goslackit
[](https://goreportcard.com/report/github.com/droxey/goslackit) [](https://www.codacy.com/app/droxey/goslackit?utm_source=github.com&utm_medium=referral&utm_content=droxey/goslackit&utm_campaign=Badge_Grade)
[BEW2.5] Fork this repo to begin the Slackbot goroutines challenge presented in class on [Day 7](https://github.com/Make-School-Courses/BEW-2.5-Strongly-Typed-Ecosystems/blob/master/Lessons/Lesson07.md).
## Instructions
1. Create a new application here. https://api.slack.com/apps?new_classic_app=1 - Set the name to be whatever you want.
1. Go to OAuth and Permissions on the left side under "Features", scroll down to "Scopes".
1. Add the three following scopes. `channels:history` , `channels:read` , `chat:write:bot`.
1. Go to "App Home" on the left side, and then add a "legacy bot user.
1. Go to Install App on the left side under "Settings". Go through the steps and add the bot into the "Make School Students" slack channel.
1. This will give you an OAuth token. Save the one that starts with `xoxb-` as you will be needing it in your code.
1. Go to the #golang-slackbots channel, and @ the bot that you just invited into the workspace. Invite the bot into the channel and now we can move onto the code!