Skip to content
This repository has been archived by the owner on Jul 8, 2018. It is now read-only.

thegazelle-ad/slack-deployment-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Deployment Bot

This is a simple script that posts to the any channel of the Slack team the bot is associated with (this bot is only intended to be used with The Gazelle, so hasn't been made further customizeable)

Setup

First install the dependencies

npm install

Then copy the example config to create the actual config

cp config.example.js config.js

And then fill in the API token of your bot in that config file. If you do not have a bot created yet you can follow this guide.

Posting a message

To post a message you now simply run

node index.js "Some message to post to the Slack team"

to post to the default deployment channel, or

node index.js <channel_to_send_to> "Some message to post to the Slack team"

to post to a custom channel such as error-logging

NOTE: Remember that your bot must have been added to any channel you post to

License

MIT Licensed Copyright (c) 2018 Emil Goldsmith Olesen

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published