chillroom / jacr-bot

The bot for Just A Chill Room
GNU General Public License v3.0
0 stars 0 forks source link

Skip the song when a certain number of people in the room dislike it #1

Open qaisjp opened 8 years ago

qaisjp commented 8 years ago

~30%

Purnceks commented 8 years ago

rough formual, but Math.ceil((0.1xn)xn/3) [n is number of peeps] seems to give reasonable values for when to skip. can switch to floor if you want, but that just means you won't get any skipping when there is barely anyone in the room (which is prob a good thing), again it's just a rough formula but it gives a good percentage (perhaps the % is too high, might need to drop it down a bit, w/e, up to you, can ignore me if you want)