a53eb5e0d2
This patch converts all English language strings used within depressionbot's localisation interface (that is, strings.json) to their ISO-639-1 equivalents. The purpose of this patch is to make the strings.json file less English-dependent. All languages with an ISO-639-1 code have been converted; that is, English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively. This patch does not attempt to force a solution to the issue of Na'vi: the language does not have a large enough corpus to warrant its own ISO 639-3 code, and as such there is no perfect solution. For the time being, this patch keeps the Na'vi language as its English language string ("Na'vi"). A possible solution to this discrepancy includes using the ISO 639-3 code ``art``, used for artificial languages that do not qualify for an official code, or by using local use codes specified in ISO 639-3 (qaa to qtz). This patch requires collaboration with upstream repositories that also use strings.json, such as the Github and Stats modules. |
||
---|---|---|
.. | ||
commands.js | ||
config.json | ||
pages.js | ||
poll.js | ||
README.md | ||
strings.json | ||
usage.json |
Poll
Pollers gonna poll.
Description
This module allows creation of and voting in polls, with associated functionality.
Note that while in terms of the interface all votes are anonymous, users’ voting choices are stored in the database for the purpose of users being able to change their votes. Therefore an admin can technically go delving in the database to see users’ voting choices.
Commands
~newpoll [pollname] options=[each,poll,option] [Poll Description]
Creates a new poll with the given name, options and descriptions. From this point people will be able to use the ~vote command to cast their vote in the poll.
~addoption [pollname] [newoption]
Using this command you can add a given option to a poll you are the creator of.
~rmoption [pollname] [optiontoremove]
Using this command you can remove a given option from a poll you are the creator of.
~vote [pollname] [option]
Cast your vote for the given option in the given poll. If you have already cast your vote in the given poll, your vote will be changed to the new option you have provided.
~pdesc [pollname]
Show the full description for a given poll name along with its available voting options.