Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.92 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.92 KB
Autobot

Autobot Slack Plugin

gopherbadger-tag-do-not-edit Github Action Go Report Card License Apache 2 Taylor Swift Volkswagen

This is a plugin for 🤖 Autobot connecting a Slack Bot to it.

🙈 Contributions are welcome.

Usage

The plugin uses the SLACK_TOKEN environment variable to connect to the Slack RTM API. The plugin can be run with out the server, but it is recommended to do so.

if you want to run the plugin without the server, you have to configure the environment variables godoc.org which are set by the server

# Example of running the plugin
./server --verbose --debug --env SLACK_TOKEN=your_token --plugins ../plugins/plugin-slack

when you run the plugin via the server, all --env parameters are passed to the started plugins.

Run

go -mod vendor run main.go

Build

go -mod vendor build

License

Apache 2.0