An open API service indexing awesome lists of open source software.

https://github.com/vectormike/verbose-winner


https://github.com/vectormike/verbose-winner

Last synced: about 1 year ago
JSON representation

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
```