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