1.0.3 • Published 5 years ago

foodstack-slack v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Slack integration for foodstack

Initialize

npm install --save foodstack-slack

Require the package in your api import slack from 'foodstack-slack';

Initialize by calling slack.init(optional token) If you pass a token, it will overwrite, otherwise it checks for an environment variable under SLACK_TOKEN

Env Variables

SLACK_TOKEN: is the default token to use SLACK_OFF: turns off sending to slack and instead, console logs

Usage

Currently, the bot can post to the activity feed. You may do this by calling

slack.activity(message);

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago