https://github.com/andersnormal/autobot-plugin-slack
:robot: Slack plugin for the infamous Autobot
https://github.com/andersnormal/autobot-plugin-slack
Last synced: 2 months ago
JSON representation
:robot: Slack plugin for the infamous Autobot
- Host: GitHub
- URL: https://github.com/andersnormal/autobot-plugin-slack
- Owner: andersnormal
- License: apache-2.0
- Created: 2019-11-13T14:11:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T21:57:40.000Z (about 5 years ago)
- Last Synced: 2024-06-20T08:14:44.836Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 2.3 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Autobot Slack Plugin


[](https://goreportcard.com/report/github.com/andersnormal/autobot-plugin-slack)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://twitter.com/SwiftOnSecurity)
[](https://github.com/auchenberg/volkswagen)
This is a plugin for :robot: [Autobot](https://github.com/andersnormal/autobot) connecting a [Slack Bot](https://slack.com) to it.
:see_no_evil: Contributions are welcome.
## Usage
The plugin uses the `SLACK_TOKEN` environment variable to connect to the [Slack RTM API](https://api.slack.com/rtm). 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](https://godoc.org/github.com/andersnormal/autobot/pkg/plugins) 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](/LICENSE)