Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Quiz Plugin for Robut

tree: ad7a7b7dce

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Guardfile
Octocat-spinner-32 History.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 robut-quiz.gemspec
README.md

Robut-Quiz

A Plugin for Robut that allows you to ask questions and collect the results from all participants within the chatroom.

Usage

Polar Question (Yes/No)

   user_a  > @robut ask 'Do you want to go to the bar at 4:30?' for 5 minutes.
   robut   > @user I have enqueued your question
   robut   > @all Question: 'Do you want to go to the bar at 4:30?'
   user_a  > @robut answer YES
   user_b  > @robut answer yes
   user_c  > @robut answer n
   robut   > @all The results are in for 'Do you want to go to the bar at 4:30?:'
             2 YES votes and 1 NO vote

Installation

Install the gem

gem install robut-quiz

Add the plugin to your Chatfile

require 'robut_quiz'

Robut::Plugin.plugins << Robut::Plugin::Quiz
Something went wrong with that request. Please try again.