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

Configurable skips #47

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

Configurable skips #47

wants to merge 8 commits into from

Conversation

Arc676
Copy link
Collaborator

@Arc676 Arc676 commented Feb 4, 2018

This branch includes new commits compared to Arc676:skipcountdown that allow the server owner to customize who can skip phases.

It says 13 commits to merge, but 10 are the same. Hopefully this doesn't cause any issues later. Let me know if it does.

Defaults to server owner
Match phase skip method now takes nickname argument
Follow 80 char line convention
Fixed syntax error in match.js
Indicates who wants to skip
Indicates how many skips required to reach majority
Checking for majority now O(n) time
Prevent same user from making multiple skip requests
user_can_skip_phase now takes participant argument
@Arc676
Copy link
Collaborator Author

Arc676 commented Feb 7, 2018

Fixed a bug where the same user could request a skip multiple times and reach majority.

Arc676 and others added 2 commits February 8, 2018 08:24
Fixed to use new function call
Added argument to comment for user_can_skip_phase
@Arc676 Arc676 mentioned this pull request Apr 5, 2018
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.

1 participant