-
Notifications
You must be signed in to change notification settings - Fork 185
chore: Push unstable to stable. #1194
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
…` to fix wrong content type errors (#1127)
* Update misc.py * Update misc.py * Re-add docstring to enum * Update migration.rst * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
fix: add __unavailable_guilds into the WebSocketClient's slots
* fix: add missed client to `message.attachments` * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: merge wait-for into the main library * refactor: use Listener's loop when creating futures * Update interactions/api/dispatch.py Co-authored-by: Max <[email protected]> * Update interactions/api/dispatch.py Co-authored-by: Max <[email protected]> * Update interactions/client/bot.py Co-authored-by: Max <[email protected]> * Update interactions/client/bot.py Co-authored-by: Max <[email protected]> * fix: break out of `wait_for`s loop if a user doesn't have a check * feat: add `wait_for_modal` * refactor: change `wait_for_modal` to return the context and a list of field inputs * Update interactions/client/bot.py Co-authored-by: EdVraz <[email protected]> * docs(typehints): update `wait_for_component`'s return value * docs(docstrings): add notes for more clarity Co-authored-by: Max <[email protected]> Co-authored-by: EdVraz <[email protected]>
* feat: add a `wait_for_select` function to support new select menu types and make receiving values easier * refactor: correct typing and add information about the method * docs: add missing word * docs: add missing colon * refactor: remove duplicate code * refactor: remove duplicate code * docs: typo * docs: fix cross-reference in docstrings Co-authored-by: mAxYoLo01 <[email protected]>
* chore: Add Damego to authors and to issue's assigners * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add the ability to limit the length of the cache * refactor: add `__all__` to `dict_caches.py` * refactor: add a default limit to cached messages * docs(typehints): clarify `default_scope` Co-authored-by: Toricane <[email protected]> * Update interactions/client/bot.py Co-authored-by: Toricane <[email protected]> * docs(docstrings): switch to the newer docstring style Co-authored-by: Max <[email protected]> * docs(docstrings/typehints): Update the _http's type * Update interactions/client/bot.py Co-authored-by: Toricane <[email protected]> * docs(docstrings): remove the line for toricane * Update interactions/api/cache.py Co-authored-by: Toricane <[email protected]> Co-authored-by: Toricane <[email protected]> Co-authored-by: Max <[email protected]>
* chore: debug * refactor: error message * fix: attribute error * chore: debug * chore: debug * fix: display warning * feat: nicer warning * feat: enhanced warning * refactor: use ints * style: pre-commit * refactor: info * refactor: debug * fix: attribute error * fix: attribute error * refactor: remove debug print * refactor: remove 403
* fix: Bug when trying to delete ephemeral message * oops * ref: run pre-commit
* feat: add voice state event * refactor: you did not see that * refactor: do things that were requested * Update interactions/api/models/member.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/member.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/guild.py Co-authored-by: Damego <[email protected]> * Update interactions/api/gateway/client.py Co-authored-by: Damego <[email protected]> * Update interactions/api/gateway/client.py Co-authored-by: Damego <[email protected]> * Update interactions/api/gateway/client.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/gw.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/gw.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/gw.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/gw.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/gw.py * Update interactions/api/models/gw.py * Update interactions/api/models/member.py * Update interactions/api/models/channel.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/guild.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/guild.py Co-authored-by: Damego <[email protected]> Co-authored-by: Damego <[email protected]>
…e same extension (#1134) * fix the multiple client mode * Update bot.py * Remove some IDE format accident * fix: sys.module deleting modules twice * Update interactions/client/bot.py Co-authored-by: Damego <[email protected]> Co-authored-by: DeltaX <[email protected]> Co-authored-by: Damego <[email protected]>
* fix: fix docs building warnings & errors * feat: change overall docs layout and remove pages that do not need to be documented * fix: rectify indenting * feat: remove private methods from docs * update bot.py * update context.py and hide inherited members from ClientSerializerMixin * update client.models * update utils.py * update audit_log.py * update channel.py * update emoji.py * update guild.py * update gw.py and move location of Permission class * update member.py * update message.py * update message.py * update misc.py * update presence.py * update role.py * update team.py * update user.py * update webhook.py * update cache, dispatch & error * update api.gateway * fix: missing few places * ci: correct from checks. * update * fix args type * feat: remove http files from docs * fix: add back HTTP page but hide it from search index * fix: actually remove HTTP methods from search index * feat: merge all request classes docs under HTTPClient docs Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* purge: remove api/enums.py as it is unneeded * fix: remove bad import
holy fuck thats a lot
* feat: Add new helper methods * docs: add docs * fix: typo
* refactor(automod ): Add new triggers, fix create rule endpoint add `AutoModActionTypes` enum * ref: pre-commit * docs: int to str * Update misc.py
* refactor: make checks awaitable in typehints * Update interactions/api/models/channel.py Co-authored-by: Damego <[email protected]> * Update channel.py * Update interactions/api/models/channel.py Co-authored-by: Damego <[email protected]> * Update interactions/client/bot.py Co-authored-by: Damego <[email protected]> * Update interactions/client/bot.py Co-authored-by: Damego <[email protected]> * Update interactions/client/bot.py Co-authored-by: Damego <[email protected]> * Update interactions/utils/utils.py Co-authored-by: Damego <[email protected]> * Update interactions/utils/utils.py Co-authored-by: Damego <[email protected]> Co-authored-by: Damego <[email protected]>
* refactor: begin with rework of purge * thanks sphinx for testing my code :D * does this... work? * does this... work? * docs: test * docs: test * docs: test * docs: test * docs: test * docs: testing * refactor: move code and support awaitable * docs: update docs
* feat: Add support for GET /guilds/templates/code * fix the return type * Update interactions/api/http/guild.py Co-authored-by: EdVraz <[email protected]> * ci: correct from checks. Co-authored-by: EdVraz <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…sue. (#1179) * fix: fix RL bugs and channel purge bug * chore: remove print * chore: 0ooops * Update interactions/client/context.py
* refactor: split dispatch in two methods * ci: correct from checks. * refactor: split dispatch in two methods * ci: correct from checks. * Update client.py * update with latest changes * presence * lets see * refactor: split dispatch in two methods * ci: correct from checks. * refactor: split dispatch in two methods * ci: correct from checks. * Update client.py * update with latest changes * presence * Update client.py * ci: correct from checks. * refactor: remove legacy code * refacto: context... * refactor: change condition * lets see * ci: correct from checks. * Update client.py * Update client.py * ci: correct from checks. * Update client.py * Update client.py * Update client.py * Update client.py * Update client.py * ci: correct from checks. * ci: correct from checks. * Update client.py * ci: correct from checks. * docs: apply new docs style * return back change * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> omg finally
* fix the multiple client mode * Update bot.py * Remove some IDE format accident * fix: sys.module deleting modules twice * Update interactions/client/bot.py Co-authored-by: Damego <[email protected]> * feat: add defered_ephemeral property * fix: change to property using flags * docs: Add the docs at right place * feat: Upgrade defer to return the Message * Update interactions/client/context.py * docs: Add Version added * docs: Fix typo * docs: make consistency * fix:typo Co-authored-by: EdVraz <[email protected]> * fix:typo Co-authored-by: EdVraz <[email protected]> Co-authored-by: DeltaX <[email protected]> Co-authored-by: Damego <[email protected]> Co-authored-by: EdVraz <[email protected]>
* feat: add helper method to get the current user * docs: sutff
* refactor: remove abstraction from the context class * refactor: do stuff * Update interactions/client/context.py * Update interactions/client/context.py * Update interactions/client/context.py * Update interactions/client/context.py * Update interactions/client/context.py Co-authored-by: Damego <[email protected]> * Update interactions/client/context.py Co-authored-by: Damego <[email protected]> Co-authored-by: Damego <[email protected]>
* ci: weekly check. updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0) - [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0) * refactor: flake8 is dumb Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Damego <[email protected]>
* refactor: allow stacking for extension decorators * fix: command first then option * revert: remove random change * ref: oop * refactor: it's is not random lol
* fix: small fix * feat: create Guild.get_all_guilds() + account for 200 limit when getting bot's guilds when syncing * ci: correct from checks. * pass bot instead of http + param docstring * oops missed import * ci: correct from checks. * fix: wrong value * feat: make the method private to Client * fix: one underscore only Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* docs, feat: Implement barebones Premium Membership support. (Recommitted via very old branch, origin commit hash 936a0f8) * docs, feat: Implement unofficial new MessageType and AuditLogEvent type.
* feat: Implement `created_at` property for models * Update message.py * Update channel.py * ci: correct from checks. * fix: id of tag is not Snowflake object * docs: make id as Snowflake Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: `Message.referenced_message` returns wrong data * docs: wrong docstring * fix: cannot convert message
* docs: remove return type from send&edit methods Add missed locale type in ComponentContext * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* refactor: add missed http clients and some optimizing * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: Pass HTTPClient to all objects when using get() with cache. * fix
updates: - [github.com/psf/black: 22.10.0 → 22.12.0](psf/black@22.10.0...22.12.0) - [github.com/pycqa/isort: 5.10.1 → 5.11.1](PyCQA/isort@5.10.1...5.11.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: bug with role related events * fix: not ignore NoneType values on update
* docs, feat: Implement barebones Linked Roles support. * chore: Revert accidental file change on role dispatching. (not sure what happened) * docs: Typehint HTTP methods.
updates: - [github.com/pycqa/isort: 5.11.1 → v5.11.3](PyCQA/isort@5.11.1...v5.11.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - [github.com/pycqa/isort: v5.11.3 → 5.11.4](PyCQA/isort@v5.11.3...5.11.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: implement modify guild emoji helper * you didn't see that * hmm * add http client * Update interactions/api/models/guild.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/guild.py Co-authored-by: Damego <[email protected]> * Update interactions/api/models/guild.py * feat: also implement helper in emoji model * Update interactions/api/models/emoji.py Co-authored-by: Damego <[email protected]> Co-authored-by: Damego <[email protected]>
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 merges unstable to stable for the next release.
Checklist
pre-commitcode linter has been run over all edited files to ensure the code is linted.3.8.6and higher.I've made this pull request: (check all that apply)
This is: