Skip to content

Repository files navigation

Docbot

Slack bot that retrieves Core/Stdlib documentation.

Requirements

Ruby ri docs should be available in the system.

Installation

 $ ./script/bootstrap
$ ./script/setup

The setup script will ask you to enter your Slack API token.

Usage

To run the bot in your local machine:

 $ script/server

Tests

To run the tests, use:

 $ script/tests

Use

Once the bot is connected to your Slack, you can send him questions about Ruby documentation as per following syntax:

> ri Array#first

You can also say hi to the bot or send him a ramdon text, in which case he will respond with an animated gif.

About

First attempt to implement a Slack bot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages