package
0.2.2-beta
Repository: https://github.com/andersnormal/autobot.git
Documentation: pkg.go.dev

# README

Autobot

Autobot Slack Plugin

Documentation

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

:see_no_evil: 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.

Build

go build

License

Apache 2.0

# Functions

FromChannelID ...
FromChannelWithContext ...
FromMsgWithContext ...
FromOutboxEvent ...
FromTimestamp ...
FromUserIDWithContext ...