Skip to content

Implement HTTP Handling for the DiscordShardedClient

Mateusz Brawański requested to merge github/fork/Neuheit/patch/634 into master

Created by: Neuheit

Summary

Fixes #634 (closed).

Details

This PR introduces proper HTTP handling for the GET gateway/bot method in the DiscordSharded client, in the event of an unsuccessful HTTP status code. It also implements a rate limiter to delay and retry the request if a 429 is encountered.

Changes proposed

  • Add proper unsuccessful HTTP handling to the sharded client.

Merge request reports

Loading