/autobot

Primary LanguageJavaScriptMIT LicenseMIT

Autobot

A Slack Bot that rocks

Autobot does blah


Installation

Grab this repository

git clone git@github.com:zdam/autobot.git

Install node dependencies

npm install

Getting started

After you've installed Autobot, the first thing you'll need to do is register your bot with Slack, and get a few configuration options set. This will allow your bot to connect, send and receive messages.

The API Token needs to be passed to node as the environment variable: slack_token


Simple debugging Setup

VSCode is a free cross-platform editor that has excellent NodeJS debugging in just a couple of clicks.

This repository has a .vscode folder with an example-launch.json file ready to go.

  • Rename example-launch.json to launch.json
  • Fill out the SLACK_TOKEN environment variable and save launch.json
  • Click the Debug Icon in VSCode and then press F5 to begin debugging your bot.