Polls Module

Manages the polling system.

Poll

!poll [poll]

Displays currently active polls or possible options for a given poll.

poll

(optional) Name of a specific poll to display.

CreatePoll

!createpoll <name> <description> [options]...

Creates a new poll with the given name, description, and options. All arguments MUST use quotes if they have spaces. Example usage: !createpoll pollname "Description With Space" "Option 1" NoSpaceOption

name

Name of the new poll. It's suggested to not use spaces because this makes things difficult for other commands.

description

Poll description that appears when displaying it.

options

(optional) Name of the new poll. It's suggested to not use spaces because this makes things difficult for other commands.

DeletePoll

!deletepoll <poll>

Removes the poll with the given poll name.

poll

Name of the poll to delete.

Vote

!vote <poll> <option>

Adds your vote to a given poll. If you have already voted in the poll, it changes your vote instead.

poll

Name of the poll you want to vote in.

option

The numeric index of the option you want to vote for, or the precise text of the option instead.

Results

!results <poll>

Displays the results of the given poll, if it exists.

poll

Name of the poll to view.

AddOption

!addoption <poll> <option>

Appends an option to a poll.

poll

Name of the poll to modify.

option

The option to append to the end of the poll.