Skip to content

Disable/Prevent processing of messages that were sent while the API was inactive #207

Answered by Auties00
ZiemlichUndead asked this question in Q&A
Discussion options

You must be logged in to vote

That's the correct behavior.
A good approach would be to check the message timestamp against the current time and have a maximum threshold. I'd set it to 10 second for example.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ZiemlichUndead
Comment options

@Auties00
Comment options

Answer selected by ZiemlichUndead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants