It doesn’t. A Reddit script just sends a request to delete the comment. At that point if the comment is deleted and then restored due to a timeout it is 100% on them.
It would be different if they would send back an error code without any changes being made, but the fact that the comment was first deleted is proof enough that their system received and at least started to process the call.