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

Added poll command #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added poll command #13

wants to merge 2 commits into from

Conversation

mlemosf
Copy link

@mlemosf mlemosf commented Oct 2, 2020

Added command to start polls, given the poll title and its options.

Added command to start polls, given the poll title and its options.
@mlemosf
Copy link
Author

mlemosf commented Oct 2, 2020

Solves #9

@katlyn
Copy link
Contributor

katlyn commented Oct 2, 2020

What you have so far looks good. Do you think you could have the bot add all the emoji as reactions to the poll message as well?

@mlemosf
Copy link
Author

mlemosf commented Oct 2, 2020

You mean to have one reaction of each of the possible emojis in the message from the beggining?

@katlyn
Copy link
Contributor

katlyn commented Oct 3, 2020

That's correct, yes

Added automatic first reactions to poll made with nookbot
@mlemosf
Copy link
Author

mlemosf commented Oct 4, 2020

Done. Now, since the command was submitted correctly, the parser with store all reactions in an array and add them to the embed as soon as the promise resolves (could not test with custom emojis though, you'll have to test them in your server).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants