Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ghee-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghee-boilerplate

A boilerplate to build your Slack Bot using ghee

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ghee boilerplate

npm version

This is a boilerplate setup for a ghee Slack bot.

For more information on how to use ghee, please visit the ghee wiki.

Setup

Clone this repo or install via yarn/npm:

$ npm install ghee-boilerplate

Go to your Custom Integrations page for your Slack instance and set up a new Bot integration. Copy the API token and save for later.

If running locally, copy .env-sample to .env and add your Slack API token to the .env file.

If running on a server, you can set the SLACK_API_TOKEN to the value of the Slack API token.

If running on a hosted service such as Heroku, you can set the Config Variables on your apps Settings page.

Run

Run yarn install if you have just cloned the repo for the first time, to install the required dependencies.

Run yarn start to start the bot.

Usage

The bot will now join your Slack instance if you specified the correct API token. You can invite the bot to whatever channel you want it to be present in.

Since this is a boilerplate, the bot will not respond to any commands. Please see the ghee wiki or view the ghee sample bot for more information on how to use this boilerplate.

Quick Deploy

You can quickly run the boilerplate bot via Heroku. Clicking this button will take you to Heroku, where you will be able to enter your Slack API token and launch the bot on a single worker dyno.

Deploy

Keywords

FAQs

Package last updated on 15 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc