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

🆕 Have duckbot facilitate polls #424

Open
jameshughes89 opened this issue Nov 24, 2021 · 13 comments
Open

🆕 Have duckbot facilitate polls #424

jameshughes89 opened this issue Nov 24, 2021 · 13 comments
Labels
enhancement New feature or request questionable Maybe we shouldn't do this

Comments

@jameshughes89
Copy link
Collaborator

Duckbutt could manage polls for the chat. An example use case would be voting for a game for game night.

Basic ideas to consider, but idk how feasible each would be at this stage:

  • Pose questions and get votes
  • have mutually exclusive votes
  • have votes where one can select n things
  • have the ability to make it anonymous
  • ability to close polls
  • set poll timers (vote closes at 1:00pm)

If others have additional ideas, throw em' in.

@jameshughes89 jameshughes89 added the enhancement New feature or request label Nov 24, 2021
@jameshughes89
Copy link
Collaborator Author

Could also plot results.

@twentylemon
Copy link
Member

What would you say is the expected behaviour of the bot? A specific list of commands, etc, would clarify how you actually see this working.

Also, do we care about persistence? Do poll results need to be in the database, or just in memory?

@Chippers255
Copy link
Collaborator

Curious if we can create a clean command structure for this? Most poll systems I have seen on other discord channels have a user post a message and allow selection through emojis. Something like this could be easily achieved.

@jameshughes89
Copy link
Collaborator Author

What would you say is the expected behaviour of the bot? A specific list of commands, etc, would clarify how you actually see this working.

I do not, as of now, have any hard ideas other than the poll itself. Will be letting the ideas brew.

Also, do we care about persistence? Do poll results need to be in the database, or just in memory?

Was originally thinking no DB, and if a plot of the result was sent to chat, it would be there. DB could be good, but perhaps that's more future problem if the needs arise.

@jameshughes89
Copy link
Collaborator Author

Curious if we can create a clean command structure for this? Most poll systems I have seen on other discord channels have a user post a message and allow selection through emojis. Something like this could be easily achieved.

I saw examples of how others do it in discord, and it doesnt seem to have a great way to anonymize, thus duckpoll was proposed.

@twentylemon
Copy link
Member

Message commands could work here, though maybe not very intuitive. I also don't think discord.py supports them.

@EldaveO
Copy link

EldaveO commented Nov 24, 2021

I'm willing to help work on this with you, as I enjoy the idea quite a bit.

It seems like we're going to have to flesh out the concept a little bit more before doing the legwork.

@EldaveO
Copy link

EldaveO commented Nov 25, 2021

I really liked the message that was sent and formatted in the discord by James, then adding the reactions on the bottom.
Perhaps Duckbot could read what the desired Emojis are (or use a standard emoji set) put an initial reaction in for each one. Then count once the poll is closed.

Example formatting

Vote: Desired game for tonight (poll closes at 4:00 PM EST)

  • 🍄 Gloomhaven
  • ⚽ Carballo
  • 😈 Diablol 2
  • 👿 Diablol 3
  • 🐘 AoE2
  • ♟️ TTS
    1🍄 1⚽ 1😈 1👿 1🐘 1♟️

@twentylemon
Copy link
Member

Curious if we can create a clean command structure for this? Most poll systems I have seen on other discord channels have a user post a message and allow selection through emojis. Something like this could be easily achieved.

I saw examples of how others do it in discord, and it doesnt seem to have a great way to anonymize, thus duckpoll was proposed.

@EldaveO
Copy link

EldaveO commented Nov 25, 2021

I saw examples of how others do it in discord, and it doesnt seem to have a great way to anonymize, thus duckpoll was proposed.

Is anonymity required for voting/ polling in our use case? I feel that it doesn't matter, but if others feel like it does then we can figure out a way to make it happen.

@jameshughes89
Copy link
Collaborator Author

Is anonymity required for voting/ polling in our use case? I feel that it doesn't matter, but if others feel like it does then we can figure out a way to make it happen.

The anonymousness was a significant part of the idea. Otherwise, it's trivial for us to just do it like we just did.

@EldaveO
Copy link

EldaveO commented Nov 25, 2021

Can bots remove emoji set by users? If so we may be able to do a similar formatting style, but have duckbot remove the user Emoji and increase it's count. It wouldn't be fully anonymous, as your vote would only be revealed for a second or two until Duckbot/ Poll removes it.

Thoughts?

@twentylemon
Copy link
Member

Should be possible to remove a reaction. DuckBot would need some admin-esque permissions, but I think it already has those, since it can delete other people's messages.

@jameshughes89 jameshughes89 added questionable Maybe we shouldn't do this stale Will be auto-closed if there's no activity labels Mar 31, 2022
@twentylemon twentylemon removed the stale Will be auto-closed if there's no activity label Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request questionable Maybe we shouldn't do this
Projects
None yet
Development

No branches or pull requests

4 participants