Skip to content

Conversation

@null8626
Copy link
Member

@null8626 null8626 commented Sep 16, 2025

The following pull request is a toned down version of #79. This pull request refactors the usage of HTTP requests by:

  • Removing the separation between the main Client and the HTTP Client.
  • Refactoring the ratelimiter by removing unused callbacks.
  • Fixing a bug where the aiohttp ClientSession argument passed in the constructor is never used.
  • Removing several endpoints that are no longer supported.
  • Removing error classes that are unused.
  • Removing the need to supply an explicit default_bot_id argument to the main client.
  • Fixing .code attribute in HTTPException being randomly unassigned (NOT None.)

Newer features will be implemented in a future pull request once this is merged.

@velddev
Copy link
Contributor

velddev commented Sep 16, 2025

LGTM, why do all the tests always seem to break?

@null8626
Copy link
Member Author

null8626 commented Sep 16, 2025

If you were referring to the checks here, older Python versions are no longer supported by setup-python.

Otherwise, I'm unsure really.

@null8626
Copy link
Member Author

If you were referring to the checks here, older Python versions are no longer supported by setup-python.

Otherwise, I'm unsure really.

Fixed with #86.

@null8626 null8626 merged commit 488db49 into Top-gg-Community:master Sep 16, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants