-
Notifications
You must be signed in to change notification settings - Fork 187
[v4] HTTP endpoints #332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[v4] HTTP endpoints #332
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This switches gateway's URL retrieval to rely on the HTTP client.
(For reference only, the d.py imports are commented out)
Contributor
|
mega? 😳 |
Include failsafe for response after Timeout, and complete a few scattered endpoints from Guild
(Removed my additions without warning.)
…dpoints. Also add bot gateway endpoint for bots that need sharding.
# Conflicts: # interactions/enums.py
# Conflicts: # interactions/api/gateway.py
# Conflicts: # interactions/api/gateway.py # interactions/api/models/guild.py # interactions/api/models/message.py
Add friendly `send_message`, "add"/modify endpoints to have responses work properly.
Contributor
|
when can I review? are all/most endpoints coded in? |
(also, partly create new JSON error handler)
Implement unban, guild member modification, rest of webhook, channel delete, message pin/unpin also.. voice regions :)
Finish emoji endpoints. Also implement guild previews, widgets, integrations, invites, welcome screens, guild roles, bans + low level adding users, and estimating prune count.
* For some reason, it didn't merge correctly because of pre-commit's flake8. flow why you do dis
Also, guild templates are a thing.
Collaborator
Author
|
As of right now (i.e., a3da2e6) sets all of the major endpoints (excluding some user-only based ones). All of the functionality is there, but it's optional to reorganise them and/or their docs when it's used. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About this pull request
This PR is essentially a "mega-PR" in the sense that this will carry out most of the bot endpoints (except some of Voice).
This PR also:
Changes
(self explanatory)
Checklist
pre_push.pyscript to format and lint code.Python 3.6.X.