Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Quiz Plugin for Robut
Ruby
tree: 6516effb70

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
Gemfile
Guardfile
History.txt
README.md
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.