Editing Message Rate Limits

Hey there, I noticed some interesting behavior when it comes to editing messages that I had some questions about. I noticed that when editing a webhook message (may also apply to non-webhook messages) quickly, discord.js handles the rate limits and the edits slowly catch up with time. However, I noticed that if one message is currently catching up with edits, and I send another webhook message and start editing that one, once the first message finishes being completely edited, the other one starts getting edited. However, the difference is, in the second message, the edits immediately catch up to the most recent edit. Is there a way to achieve this type of behavior (where it catches up immediately) for the first message in this scenario? When I edit a message quickly, I'm looking for it to try and update to the most recent version of the message (if it is unable to do so immediately due to rate limits) instead of trying to catch up the edits. Let me know if anyone knows about this (or if you have any questions) šŸ¤”
Was this page helpful?