Updated Project: Better Database Management, User Interaction.
Version 3.1.1
Notifications: Fixed duplicate notification sends that affected some users around scheduler overlap windows. Added per-entry in-flight protection in notification sch…
Updated Project: Better Database Management, User Interaction.
Version 3.1.1
Notifications: Fixed duplicate notification sends that affected some users around scheduler overlap windows. Added per-entry in-flight protection in notification scheduler to prevent concurrent delivery of the same notification ID. Added cron overlap protection in hourly scheduler execution. If a previous hourly cycle is still running, the next cycle now exits early. Prevents double processing during long catch-up/update cycles. Kept existing watchlist/role notification flow unchanged while addressing race conditions at scheduler level.
Commands: Refactored interactionCreate autocomplete event handler. Removed redundant temporary boolean and nested branching. Switched to early-return guard using optional chaining for cleaner control flow. Preserved command lookup and autocomplete error logging behavior.
Others: Revert notification message embed to previous embed style.