Archiving since Matrix/Element have had poll support for a few years now
A plugin for maubot that creates a poll in a riot room and allows users to vote
'!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 👍)
- 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
- Changed voting format to reactions (instead of '!poll vote')
- Allows every room to have unique poll
- 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)