aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-08-10 09:28:54 -0400
committerRapptz <[email protected]>2021-08-10 09:28:54 -0400
commit1c40d43fd1289238a2184e7f106b908b2a1b4381 (patch)
tree8e66c41c29bea964d4444221efeb66c7d41b08a6
parentInteraction.channel can be a PartialMessageable rather than Object (diff)
downloaddiscord.py-1c40d43fd1289238a2184e7f106b908b2a1b4381.tar.xz
discord.py-1c40d43fd1289238a2184e7f106b908b2a1b4381.zip
Remove unused log lines in HTTPClient
-rw-r--r--discord/http.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/discord/http.py b/discord/http.py
index 7e7e3cdb..b186782f 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -33,7 +33,6 @@ from typing import (
ClassVar,
Coroutine,
Dict,
- Final,
Iterable,
List,
Optional,
@@ -159,9 +158,6 @@ aiohttp.hdrs.WEBSOCKET = 'websocket' #type: ignore
class HTTPClient:
"""Represents an HTTP client sending HTTP requests to the Discord API."""
- SUCCESS_LOG: Final[ClassVar[str]] = '{method} {url} has received {text}'
- REQUEST_LOG: Final[ClassVar[str]] = '{method} {url} with {json} has returned {status}'
-
def __init__(
self,
connector: Optional[aiohttp.BaseConnector] = None,