Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 913 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 913 Bytes

Slacklib

Simple Vibe.d based library to write Slack bots using the RTM API. Slack also offers the Events API which this does not support.

Dependency

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.

Usage

See the usage example. For the credentials to use, see this article.