Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

feat!: route implementation #127

Merged
merged 69 commits into from
Mar 15, 2023
Merged

feat!: route implementation #127

merged 69 commits into from
Mar 15, 2023

Conversation

VincentRPS
Copy link
Member

@VincentRPS VincentRPS commented Jan 14, 2023

Summary

The biggest thing currently lacking on v3 is route support.
This initiates some new routes for users to play around with.

Closes #8, #7, and #6.

PR Type

  • This PR improves the code (speed/style improvements or refactoring).
  • This PR fixes an issue.
  • This PR makes an addition to the library (new file, class, method, parameters, etc.).
  • This PR makes a breaking change (renaming/removing parameters, methods, etc.).
  • This PR doesn't make any code changes to the library (documentation, examples).

Checklist

  • I have searched all pull requests for duplicates.
  • I have tested the changes made.
    • I have properly changed the docs to reflect the changes made.
  • If 'type: ignore' comments were used, a comment is left to explain why it is needed.

Also adds some App command routes
@VincentRPS VincentRPS self-assigned this Jan 14, 2023
@VincentRPS VincentRPS added this to the 3.0.0 milestone Feb 26, 2023
pycord/api/route.py Outdated Show resolved Hide resolved
pycord/api/routers/base.py Outdated Show resolved Hide resolved
pycord/auto_moderation.py Outdated Show resolved Hide resolved
pycord/auto_moderation.py Outdated Show resolved Hide resolved
pycord/channel.py Show resolved Hide resolved
pycord/pages/paginator.py Outdated Show resolved Hide resolved
pycord/pages/paginator.py Outdated Show resolved Hide resolved
pycord/snowflake.py Outdated Show resolved Hide resolved
pycord/typing.py Show resolved Hide resolved
VincentRPS and others added 12 commits March 7, 2023 08:42
Co-authored-by: Oliver Wilkes <oliverwilkes2006@icloud.com>
Signed-off-by: VincentRPS <vincentbusiness55@gmail.com>
Co-authored-by: Oliver Wilkes <oliverwilkes2006@icloud.com>
Signed-off-by: VincentRPS <vincentbusiness55@gmail.com>
Co-authored-by: Oliver Wilkes <oliverwilkes2006@icloud.com>
Signed-off-by: VincentRPS <vincentbusiness55@gmail.com>
Signed-off-by: VincentRPS <vincentbusiness55@gmail.com>
Adds `__slots__` to many classes to make them more memory efficient on large bots.

Make messages be update better.
@VincentRPS VincentRPS marked this pull request as ready for review March 15, 2023 12:28
Finalizes some things, adds a little misc mypy config, and a new changelog.
@VincentRPS
Copy link
Member Author

I will be giving some time for people to review.

Will be merging near 7PM (UTC+8) if all is resolved or no more reviews are given.

@VincentRPS VincentRPS changed the title feat!: full route implementation feat!: route implementation Mar 15, 2023
@plun1331
Copy link
Member

plun1331 commented Mar 15, 2023

Checklist

  • I have searched all pull requests for duplicates.

  • I have tested the changes made.

    • I have properly changed the docs to reflect the changes made.
  • If 'type: ignore' comments were used, a comment is left to explain why it is needed.

did you test the changes

@plun1331 plun1331 linked an issue Mar 15, 2023 that may be closed by this pull request
@VincentRPS VincentRPS merged commit c289b7e into main Mar 15, 2023
@VincentRPS VincentRPS deleted the routes branch March 15, 2023 22:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove JSONDecoder Support for Webhooks Support for Channels & DMS Support for Guilds
3 participants