Skip to content

pvcarrera/docbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published