aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/webhook.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index e06b6281..00e15429 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -222,6 +222,8 @@ class AsyncWebhookAdapter(WebhookAdapter):
raise NotFound(r, response)
else:
raise HTTPException(r, response)
+ # no more retries
+ raise HTTPException(r, response)
async def handle_execution_response(self, response, *, wait):
data = await response
@@ -308,6 +310,8 @@ class RequestsWebhookAdapter(WebhookAdapter):
raise NotFound(r, response)
else:
raise HTTPException(r, response)
+ # no more retries
+ raise HTTPException(r, response)
def handle_execution_response(self, response, *, wait):
if not wait: