Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polling #93

Open
diziara opened this issue Dec 24, 2020 · 2 comments
Open

Polling #93

diziara opened this issue Dec 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@diziara
Copy link
Collaborator

diziara commented Dec 24, 2020

It would be hella cool if we could set up a reaction based poll through the bot where it would automagically total up the results after a set amount of time. Ideally the time out would be optionally adjustable and default to something like a day but could be as short as a few minutes maybe?

@TurqW
Copy link
Owner

TurqW commented Jan 2, 2021

Some limitations/questions:

  1. To be able to limit to 1 choice per person, the bot will need the "manage messages" permission in the channel the poll is in (because that permission is necessary to remove the extra reactions)\
  2. Reactions will all have to be emoji that the bot has access to. For ease of validation, that probably means restricting them to default emoji + the current server.
  3. Should answers be "anonymous" (reactions deleted as soon as they're received, with the vote tallied) or should the reactions be left up and just counted at the end? (note that the 'anonymous' option still wouldn't be 100% secrecy guaranteed, as there would be a slight delay between the reaction being added and it being removed)
  4. If it's anonymous, should there be a way to view results before the time is up? At the very least, a count for number of votes received (so that people can see it increment and know their vote isn't just being deleted)?

@diziara
Copy link
Collaborator Author

diziara commented Jan 2, 2021

  1. 👍
  2. 👍
  3. Can this be a flag in the command? Default to one and allow the poll command to specify if they want the other? Like default to everyone can view votes, but have -anon switch it?
  4. If toggleable, I don't think anon needs to show the running results. If not toggleable, can it edit the running total into the message?

@diziara diziara added the enhancement New feature or request label Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants