def METHOD_NAME(self, interrupt_time, status):
    import requests
    if self.interrupted_text is None:
        return
    self.run["status"] = status
    self.run["interrupt_time"] = interrupt_time
    self.run["elapsed_time"] = td_format(interrupt_time - self.run["start_time"])
    data = {
        "username": self.bot_name,
        "icon_emoji": self.icon,
        "text": self.get_interrupted_text(),
    }
    headers = {"Content-type": "application/json", "Accept": "text/plain"}
    requests.post(self.webhook_url, data=json.dumps(data), headers=headers)