https://github.com/dpb587/go-slack-topic-bot
Some utilities for making a Slack bot that manages a channel's topic.
https://github.com/dpb587/go-slack-topic-bot
Last synced: about 1 year ago
JSON representation
Some utilities for making a Slack bot that manages a channel's topic.
- Host: GitHub
- URL: https://github.com/dpb587/go-slack-topic-bot
- Owner: dpb587
- License: mit
- Created: 2018-09-12T12:07:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-18T20:29:20.000Z (almost 8 years ago)
- Last Synced: 2025-03-24T03:11:26.020Z (about 1 year ago)
- Language: Go
- Size: 114 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-slack-topic-bot
Some utilities for making a [Slack](https://slack.com/) bot that manages a channel's topic.
## Usage
Use this programmatically from your own programs. See the ([examples](examples/cfbosh.go)) for how you can declare topics you care about. The following environment variables are used in the examples:
* `SLACK_CHANNEL` - the channel ID where the topic will be updated (not the name; e.g. `CA1B2C3D4`)
* `SLACK_TOKEN` - an API token for accessing Slack (you may want to create one [here](https://apps.slack.com/apps/A0F7YS25R-bots))
## License
[MIT License](LICENSE)