Skip to content

Slackbotify/butler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Butler

XO code style

Create your own personal butler in slack!

Usage

This butler is a plguin based bot build on top of Slackbotify. It comes with the plugin-loader plugin. The idea is to create a bot which can be easily extended with plugins.

Plugins

At the moment the following plugins are available:

Have a nice idea for a plugin? Create an issue for it or start coding!

This project is based of the original Butler

Run

To start the Butler simply run the start script inside the bin directory:

$ ./bin/start

Or npm install and npm start to launch the bot!

Docker

There is a Dockerfile if you want to build a docker image yourself. Run the following inside the project directory to build the image:

$ docker build -t butler .

And launch it with the following command:

$ docker run -d --name butler butler

Configuration

Configuration of your bot can either be done using a config file or pass environment variables.

File

In the config folder there is a config.json.example file you can copy and rename to config.json. Once configured you are ready to start the bot.

Environment variables

If a config file is not ideal for your setup use environment variables. You can see in the table which env var to use for each config value.

Description ENV Required
The slack token for this slackbot BL_SLACK_KEY
The name of the slackbot BL_SLACK_NAME
Forecast.IO Api key BL_WEATHER_KEY

Releases

No releases published

Packages

No packages published