-
Notifications
You must be signed in to change notification settings - Fork 187
chore: reflect unstable additions to stable. #449
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
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
(f) fixed the logic of the sub-function for defining parameters for t…
…on HTTP logic, suppress unnecessary print logic
…rations. * Optimize #393 into few lines * Formatted
…ngs on ALL intents.
* added delete to message started edit of message fixed but when editing components in componentcontext * undo change in context * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * remove components from editing * completed edit, began send * commiting in order to be able to mere changes. * re add gitignore * added new functions * change tts check in message.reply * Added new functions ban remove_ban kick * new functions: add_member_roles remove_member_roles * fixed wrong func name - unban() -> remove_ban() * Update interactions/api/models/channel.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/gateway.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/role.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/role.pyi Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/channel.pyi Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/channel.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/channel.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * changed httpclient in messge.pyi * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/member.pyi Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/member.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.pyi Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * added things * changed docstring * added more helper methods in guild.py * channel create and edit * added modify to channel * role delete and modify * added send (dm) for members * reformatted .pyi files * changed names of methods and implemented guild.member * corrected role functions * fixed embed sending in channel * made fixes, added slots. In this commit all helper methods are functioning! * whoops, forgot removing a print statement Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com>
updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](pre-commit/pre-commit-hooks@v4.0.1...v4.1.0) Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> Co-authored-by: James Walston <officialdeltadev@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Thomas Petersson <thomaspet@unimicro.no>
* fix: checks for component sending * more checks * fix select * fixed in send() as well * fix ActionRow sending & multiple * fix checking * fix List[Button | SelectMenu] sending * fix typo * implement list list components sending * testing * test * final commit pog * fix typehints for components= * implement interchangeable lists and ActionRows, and remove unused import * fix: url buttons not sending * fix: docstring and typehints * fix: docstring and typehints again
* fixed typos * added modify_member to guild * fixed bug * changed documentation * added modify to member * added add_to_thread * added add_member to channel * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * re-added add_member * Update interactions/api/models/channel.py Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make requested changes * added client to context attributes * im dumb Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: James Walston <41456914+goverfl0w@users.noreply.github.com>
docs: replace interactions.Client variable for lib/client referencing.
fix: change print to log.debug
* (f) fix SelectMenu and addition add values in message component * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (f) fix check_sub_auto Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…PClient. (#433) * refactor: - raise error if HTTPClient is not defined in helper methods to have a clearer error - add explanation of that error and fix to faq - began channel.purge * thing * Update faq.rst * Update channel.py * Update guild.py * Update member.py * Update message.py * Update role.py * give context.message the HTTPClient fix removal of message contents when editing
Move code quality and documentation dependencies into an the [dev] extra. Prevents unnecessarily force-installing these libraries for downstream users and potentially creating version conflicts in their projects.
- fixed a bug (prevented iterating the NoneType)
…er HTTP ratelimiting.
* docs: - fix guild.py * docs: - fix channel.py * docs: - fix member.py * docs: - fix message.py * docs: - fix role.py * docs: - fix gateway.py * docs: - fix http.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
… for errors, including refactored logic.
Also add back the response on error.
* fix: set default logging handlers to NullHandlers * fix: replace log instancing with new handler funct * ref: pre-commit hook * fix: pass errors and higher by default * fix: add docstring and fix typo * fix: reference conflicts with formatter * pre-commit: fix complaint from isort
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 is about bringing all of the commits from the
unstablebranch and adding them tostablefor stable parity.Checklist
pre-committo format and lint the change(s) made.3.8.6and higher.