Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

TomCasavant/PollMaubot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archiving since Matrix/Element have had poll support for a few years now

Poll Maubot

A plugin for maubot that creates a poll in a riot room and allows users to vote

Usage

'!poll new "Question" "Choice1" "Choice2" "Choice3"' - Creates a new poll with given (at least 1) choices

The user can now also create polls with line-breaks:

!poll new What is my question?
Choice1
Choice2
Choice3

'!poll results' - Displays the results from the poll

'!poll close' - Ends the poll

Users vote by adding the matching emoji to the poll (i.e. if the first choice has a 👍 then in order to pick that choice the user has to react with 👍)

Version 3.0 (Latest release)

  • Made emoji options more accessible
  • Bot now reacts to itself with emoji options
  • The user can now define emoji options
  • User can define answers with line-breaks rather than quotes

Older Releases:

Version 2.0

  • Changed voting format to reactions (instead of '!poll vote')

Version 2.0.1

  • Allows every room to have unique poll

Wish List

  • Add user configuration to only allow certain users to create polls
  • Add auto-timing ability
  • Make emojis configurable
  • Add placeholder emojis on each poll (to let users just click one)