Skip to content

Commit

Permalink
Removed unnecessary debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
AMIT YADAV authored and AMIT YADAV committed Mar 15, 2024
1 parent ef2f63d commit 187f9a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion discord/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ async def request(

# check if we have rate limit header information
remaining = response.headers.get("X-Ratelimit-Remaining")
print(f"RatelimitReached: status: {response.status}, url: {url}, method: {method}")
if remaining == "0" and response.status != 429:
print(f"RatelimitReached: status: {response.status}, url: {url}, method: {method}")
# we've depleted our current bucket
Expand Down

0 comments on commit 187f9a2

Please sign in to comment.