TheBastionBot / Bastion

🚀 Get an enhanced Discord experience!
https://bastion.traction.one
GNU General Public License v3.0
312 stars 246 forks source link

[BUG]: Inaccurate poll results #1022

Closed OutrageOrange closed 1 year ago

OutrageOrange commented 1 year ago

Describe the bug Inaccurate poll results- the added reactions the Bastion bot adds to polls in order to allow people to choose vote options , one for each option, is being incorrectly added into the calculations for the poll results, causing inaccurate results.

To Reproduce Steps to reproduce the behavior:

  1. Run the /poll command, add at least one vote, and allow the vote to end.
  2. One extra vote is added for each reaction the bot makes, throwing off the vote count and the calculated percentages.

Screenshots N/A

Environment:

atlanna[bot] commented 1 year ago

Thank you for opening this issue. A maintainer will get by as soon as practical to address this issue.

Since this is your first time here, please check the contributing guidelines to see other ways you can get involved.

If this is a support question and not really an issue or suggestion, then please ask it in our Discord Server instead.

TheR0cketMan commented 1 year ago

This isn't even a bug. This is how all bots with poll features run & it's on purpose, as it is how it adds the reactions for people to click/use.

OutrageOrange commented 1 year ago

I am not saying the reactions are the bug, @TheR0cketMan , I am saying the calculation is wrong because the reactions the bot is adding is being added to the total vote count.

iamtraction commented 1 year ago

The fix should be available in v10.9.0

atlanna[bot] commented 1 year ago

If you think this was a mistake, feel free to reopen this isssue.