Fix off-by-one error in MAXIMUM_REMINDERS check#3497
Fix off-by-one error in MAXIMUM_REMINDERS check#3497oliveman-au wants to merge 2 commits intopython-discord:mainfrom
Conversation
|
The off-by-one error fix seems fine, but the other hunk seems unrelated (and parts of it are already in another PR). |
yeah sorry about that, the branch was accidentally built on top of the jump_url fix. the only intentional change here is the >= fix, the other hunk is already covered in #3496 |
|
@oliveman-au This PR should be rebased on Make sure that all your branches are always based on main, not on other branches you are working on. Every PR should contain an atomic change, not be mixed with other changes. |
|
Should be combined into one PR across all reminder functionality. |


MAXIMUM_REMINDERSis set to 5 and the delete command docstring confirms the limit is 5, but the check uses>instead of>=, meaning users can actually create 6 reminders before being blocked.Changed
> MAXIMUM_REMINDERSto>= MAXIMUM_REMINDERSso the limit is enforced correctly.