-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the slacksoc wiki! Currently this is the best starting place for information on how to create Slacksoc plugins.
Slacksoc is implemented in Go, an open-source programming language created at Google. You'll need to learn at least a bit of it to do plugin work. A good place to start is the tour.
- You'll want to install it on your computer...
- Then you can get the source and all required libraries with
go get github.com/brenns10/slacksoc/slacksoc
Slacksoc uses the Slack RTM API to listen and respond to events. You'll have to get a bit familiar with it in order to work on plugins. In addition, Slacksoc uses this Go library for the API. You'll want to refer to the documentation of both simultaneously.
For testing, you'll need an API key. An easy solution is to create your own Slack team for testing and use the one custom API key from there. Try to be polite to Slack and conserve the number of teams (share with others if you can!).
Refer to the following wiki pages in order to learn what you need to know about making plugins.
- Bot API Reference
- Core Plugins - reading the code for core plugins can help you learn
- Go Slack API Reference
- Slack API Reference
- mapstructure Reference