aboutsummaryrefslogtreecommitdiff
path: root/discord/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/errors.py')
-rw-r--r--discord/errors.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/discord/errors.py b/discord/errors.py
index b0f91cf8..fd967a9c 100644
--- a/discord/errors.py
+++ b/discord/errors.py
@@ -72,12 +72,10 @@ class HTTPException(DiscordException):
Attributes
------------
- response: aiohttp.ClientResponse
+ response: :class:`aiohttp.ClientResponse`
The response of the failed HTTP request. This is an
- instance of `aiohttp.ClientResponse`__. In some cases
- this could also be a ``requests.Response``.
-
- __ http://aiohttp.readthedocs.org/en/stable/client_reference.html#aiohttp.ClientResponse
+ instance of :class:`aiohttp.ClientResponse`. In some cases
+ this could also be a :class:`requests.Response`.
text: :class:`str`
The text of the error. Could be an empty string.