Simple Vibe.d based library to write Slack bots using the RTM API. Slack also offers the Events API which this does not support.
This library is not registered on code.dlang.org
.
Instead, clone is as a submodule:
mkdir submodules
git submodule add --name slacklib https://github.com/Geod24/slacklib.git submodules/slacklib
Add the following to your dub.json
's dependencies:
"slacklib:lib": { "path": "submodules/slacklib" }
Or for dub.sdl
:
dependency "slacklib:lib" path="submodules/slacklib"
You might also need to add the VibeDefaultMain
version
if you follow the example.
See the usage example. For the credentials to use, see this article.