elif "https://discord.com/api/webhooks" in url: payload["content"] = message else: payload = {**event_data} r = requests.post(url, json=payload) r.raise_for_status() return True except Exception as e: print(e) return False2