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

[live mode] Wait a certain amount of time before adding the role #20

Open
tippfehlr opened this issue Sep 27, 2022 · 1 comment
Open
Labels
enhancement New feature or request requested This was requested by a user.

Comments

@tippfehlr
Copy link
Owner

As per RstY_CZ#2033 here

@tippfehlr tippfehlr added the enhancement New feature or request label Sep 27, 2022
@tippfehlr tippfehlr added the requested This was requested by a user. label Dec 6, 2022
@tippfehlr tippfehlr added this to the v1.8.0 milestone Jan 28, 2023
@tippfehlr
Copy link
Owner Author

This is harder than I first thought:

  1. User starts playing
  2. In the timeouts table, a blocker for that user for the selected time is created
  3. User activity gets ignored while the blocker is active
  4. When the blocker times out and the user still has the activity, the user gets the role
  5. When the status doesn't the activity, an allower is created with a timeout
  6. When user starts playing again, allowed is cleared and role is given.
  7. User stops playing, allowed is created
  8. Allower times out, start at 1. again

@tippfehlr tippfehlr modified the milestones: v1.9.0, v1.10.0, v1.11.0 Oct 11, 2023
@tippfehlr tippfehlr removed this from the v1.11.0 milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request requested This was requested by a user.
Projects
None yet
Development

No branches or pull requests

1 participant