uaf-cs / nookbot

BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Added poll command #13

Open mlemosf opened 3 years ago

mlemosf commented 3 years ago

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

mlemosf commented 3 years ago

Solves #9

katlyn commented 3 years ago

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 commented 3 years ago

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

katlyn commented 3 years ago

That's correct, yes

mlemosf commented 3 years ago

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).