diff options
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/http.py b/discord/http.py index d1556e30..9459a9c5 100644 --- a/discord/http.py +++ b/discord/http.py @@ -241,6 +241,8 @@ class HTTPClient: raise Forbidden(r, data) elif r.status == 404: raise NotFound(r, data) + elif r.status == 503: + raise DiscordServerError(r, data) else: raise HTTPException(r, data) |