imp
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
2 deletions
-
discord/http.py
|
|
@ -527,7 +527,6 @@ class HTTPClient: |
|
|
|
*, |
|
|
|
proxy: Optional[str] = None, |
|
|
|
proxy_auth: Optional[aiohttp.BasicAuth] = None, |
|
|
|
unsync_clock: bool = True, |
|
|
|
http_trace: Optional[aiohttp.TraceConfig] = None, |
|
|
|
max_ratelimit_timeout: Optional[float] = None, |
|
|
|
) -> None: |
|
|
@ -548,7 +547,6 @@ class HTTPClient: |
|
|
|
self.proxy: Optional[str] = proxy |
|
|
|
self.proxy_auth: Optional[aiohttp.BasicAuth] = proxy_auth |
|
|
|
self.http_trace: Optional[aiohttp.TraceConfig] = http_trace |
|
|
|
self.use_clock: bool = not unsync_clock |
|
|
|
self.max_ratelimit_timeout: Optional[float] = max(30.0, max_ratelimit_timeout) if max_ratelimit_timeout else None |
|
|
|
|
|
|
|
user_agent = 'DiscordBot (https://github.com/Rapptz/discord.py {0}) Python/{1[0]}.{1[1]} aiohttp/{2}' |
|
|
|