command
module
Version:
v0.0.0-...-8f892f0
Opens a new window with list of versions in this module.
Published: Feb 29, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goslackit

[BEW2.5] Fork this repo to begin the Slackbot goroutines challenge presented in class on Day 7.
Instructions
Follow this link in order to get the project set up.
My Notes - To Setup a Go Slack Bot
- Create a Slack App at https://api.slack.com/apps?new_classic_app=1
- Clone Dani's project or my project which does not have a go.mod and go.sum
- Set up Slack project
- Add name, color, details
- Give permissions the slack bot need in OAuth & Permissions
- Important to click
Add an OAuth Scope
and
- Install the app
- Install app to the workspace
- Get the bot token and put token in .env.sample like so
BOT_OAUTH_ACCESS_TOKEN="xoxb-471558618------"
- Create a .env file by running
cp .env.sample .env
which copies code in .env.sample to .env
- Run app with
go build && go run main.go
- Add bot to a channel and try Reinstall App if it doesn't work
Documentation
¶
DO NOT EDIT THIS FILE. This is a fully complete implementation.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.