https://github.com/vectormike/verbose-winner
https://github.com/vectormike/verbose-winner
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/vectormike/verbose-winner
- Owner: Vectormike
- Created: 2022-02-09T22:03:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-09T22:05:14.000Z (over 4 years ago)
- Last Synced: 2025-02-02T06:41:27.543Z (over 1 year ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slack Bot
## Overview
A Simple Slack Bot that responds to greetings
## Running locally
### 0. Create a new Slack App
- Go to https://api.slack.com/apps
- Click **Create App**
- Choose a workspace
- Enter App Manifest using contents of `manifest.yaml`
- Click **Create**
Once the app is created click **Install to Workspace**
Then scroll down in Basic Info and click **Generate Token and Scopes** with both scopes
### 1. Setup environment variables
```zsh
# Replace with your bot and app token
export SLACK_BOT_TOKEN= # from the OAuth section
export SLACK_APP_TOKEN= # from the Basic Info App Token Section
```
### 2. Setup your local project
```zsh
# Clone this project onto your machine
git clone https://github.com/Vectormike/verbose-winner slack-bot
# Change into the project
cd slack-bot
# Install the dependencies
npm install
```
### 3. Start servers
```zsh
npm run start
```