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

Node war size resets every day #21

Closed
Zwivee opened this issue May 2, 2021 · 2 comments
Closed

Node war size resets every day #21

Zwivee opened this issue May 2, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Zwivee
Copy link
Owner

Zwivee commented May 2, 2021

We only node war wed, thurs, friday, and sunday. No need to reset every day. Especially when attendance is posted before 6pm, which is when the current bot resets the cap anyway.

Possible Solution: Add fields for valid node war days, and only reset on valid node war days.

@Zwivee Zwivee added the bug Something isn't working label May 2, 2021
@Zwivee Zwivee self-assigned this May 2, 2021
@Zwivee
Copy link
Owner Author

Zwivee commented May 2, 2021

  1. Store day of node war
  2. Create task to trigger on that day at 18:00

@Zwivee
Copy link
Owner Author

Zwivee commented May 4, 2021

Ended up checking daily if its currently one of the days we do node war int he reset loop. If its not a node war day then the reset wont execute.

@Zwivee Zwivee mentioned this issue May 4, 2021
@Zwivee Zwivee closed this as completed May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant