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

uqcsbot poll #165

Closed
jenseni-git opened this issue Oct 2, 2023 · 2 comments
Closed

uqcsbot poll #165

jenseni-git opened this issue Oct 2, 2023 · 2 comments
Labels
good first issue Good for newcomers new-command add a new command or cog for some new functionality

Comments

@jenseni-git
Copy link
Contributor

New cog idea: poll.

/poll will take in between 3 and 11 arguments.

  • The first argument will be the polling question to be proposed to voters
  • The second and third (as a minimum) up to the 11th argument will be the polling answers for users to select.
  • When the function is called, the bot will send the argument question, then format each possible response with the relevant numerical emoji 1-n (0 being 10) displayed next to the relevant answer option. The bot will then react with the relevant numerical emojis.

Possible pain points:

  • Message overflow (Should this be handled by multiple messages or an error; how may this effect the below idea).

Extensibility idea: an addtional 'ping me' argument of a time. At the time as inputted, the bot will ping the sender again, and reference the original poll to remind the poller that the poll is now finished.

@jenseni-git jenseni-git added enhancement update an existing command or cog for some new functionality good first issue Good for newcomers labels Oct 2, 2023
@andrewj-brown
Copy link
Member

Potentially a good use-case for using interaction buttons instead of reactions, which is the way that bots are "supposed" to do stuff like this.

@andrewj-brown andrewj-brown added new-command add a new command or cog for some new functionality and removed enhancement update an existing command or cog for some new functionality labels Oct 9, 2023
@49Indium 49Indium linked a pull request Mar 7, 2024 that will close this issue
@49Indium
Copy link
Member

Closing this, as Discord is rolling out a native poll feature.

@49Indium 49Indium closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new-command add a new command or cog for some new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants