This is a plugin for 🤖 Autobot connecting a Slack Bot to it.
🙈 Contributions are welcome.
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.
go -mod vendor run main.go
go -mod vendor build