-
Notifications
You must be signed in to change notification settings - Fork 10
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
Change reaction's handling on poll messages #340
Change reaction's handling on poll messages #340
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I will have to test it more tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reactions are no longer removed when reacting with other emote on poll.
When adding new options to existing poll, bot picks only available emotes for new options (emotes which weren't used for reactions on that message before), it also allows max 16 answers in the embed and max 20 reactions on message, any new choices on poll, even when poll oficially has just a few answers, will not be added, if it would mean adding reactions above count 20.
This is to have some space in between editing embed and adding corresponding reactions, so that users don't run frequently into issues where before bot adds enough reactions, another user adds his and bot no longer can add more.