Skip to content

Fix modpings schedule - #3371

Merged
jb3 merged 5 commits into
mainfrom
mbaruh/fix-modpings-schedule
Aug 31, 2026
Merged

Fix modpings schedule#3371
jb3 merged 5 commits into
mainfrom
mbaruh/fix-modpings-schedule

Conversation

@mbaruh

@mbaruh mbaruh commented Aug 14, 2025

Copy link
Copy Markdown
Member
  • Fixes the modpings scheduler. Various bugs aside, key idea is that both caches are necessary to determine whether or not the moderator should currently have the role. Therefore almost all the checks, role changes, and scheduling are now under a central function handle_moderator_state.
  • Adds the sync command in case there's some problem, and the status command to view current status, when pings come back, and what the current schedule is.

Since the relevant part of the code is rewritten, this PR also closes #2003

@mbaruh mbaruh added t: bug Something isn't working a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority t: enhancement Changes or improvements to existing features s: needs review Author is waiting for someone to review and approve labels Aug 17, 2025
@jb3
jb3 force-pushed the mbaruh/fix-modpings-schedule branch from 29238c5 to 5fd31d2 Compare August 31, 2026 20:37
@jb3
jb3 merged commit 7d9d456 into main Aug 31, 2026
5 of 6 checks passed
@jb3
jb3 deleted the mbaruh/fix-modpings-schedule branch August 31, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve t: bug Something isn't working t: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: can't subtract offset-naive and offset-aware datetimes

2 participants