-
Notifications
You must be signed in to change notification settings - Fork 187
chore: Merge unstable into stable #923
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
…s icon (#783) * feat: Adding ``icon_url`` property for getting the guild's icon URL * feat: Adding ``url`` property for ``Emoji`` for getting the emoji's URL * ci: correct from checks. * file: Update interactions/api/models/message.py Co-authored-by: Max <maxyolo01.ytb@gmail.com> * file: Update interactions/api/models/message.pyi Co-authored-by: Max <maxyolo01.ytb@gmail.com> * file: Update interactions/api/models/message.py Co-authored-by: Max <maxyolo01.ytb@gmail.com> * file: Update ./api/models/message.py to meet the review * file: Update interactions/api/models/message.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Max <maxyolo01.ytb@gmail.com> Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* feat: ability to suppress embeds on message edit * Update interactions/api/models/message.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> * Update interactions/api/models/message.py Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com> Co-authored-by: EdVraz <88881326+EdVraz@users.noreply.github.com>
This is breaking, very much so Any bugs encountered during a minor test were fixed, however, more testing is needed
This is an executive decision made between Delta and I. We will be forcing a version 4.0 push onto our old branch to help transition old users using v3 to our new project. This does not necessarily mean this branch will now be receiving updates along with the rest. The goal is to make our current branch used as much as possible.
…xtensions (#797) * refactor: Add ``remove_commands`` argument for un- and reloading of extensions * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add the things * ci: correct from checks. * Fix return in docstrings * Remove redundancy * ci: correct from checks. * Update interactions/api/models/guild.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* feat: Implement Scheduled Events via Gateway. * docs: Document attributes to GuildScheduledEventUser object.
* feat: implement webhook model * feat: implement webhook methods for guild and channel * refactor(http): Add file sending for webhooks and correct function attributes * ci: check * feat: implement execute function * ci: check * docs: document webhook class * Fix: resolve circular import * Update webhook.py * ci: correct from checks. * Update webhook.py * ci: correct from checks. * Update webhook.py * ci: correct from checks. * Update webhook.py * ci: correct from checks. * Update webhook.py * ci: correct from checks. * Update webhook.py * Update api.models.rst * Create api.models.webhook.rst * Update webhook.py * ci: correct from checks. * Spelling™ * Update interactions/api/models/webhook.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * feat: add delete method * feat: add delete method * Update interactions/api/models/webhook.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * Update interactions/api/models/guild.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * Update interactions/api/models/channel.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * fix bugs * Update interactions/api/models/webhook.py Co-authored-by: Damego <danyabatueff@gmail.com> * doc * Update interactions/api/models/webhook.py Co-authored-by: Damego <danyabatueff@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> Co-authored-by: Damego <danyabatueff@gmail.com>
…ate events Merge pull request #909 from Catalyst4222/unstable
* fix: properly typehint Storage.get * fix: fix Storage.pop's typehints
* feat: add info from guilds to cache * fix: transform Threads into Channels as needed * fix: you know what? let's just not. Threads may be updated when Channels aren't and vice versa. I'd rather not confuse things here.
* feat: new Command object There are still countless TODOs, this is a progress commit * fix: import error * feat: option decorator btw i havent tested any of these * fix: attempt to fix circular import * fix: circular import * refactor: replace errors with LibraryException * refactor: few small refactors * refactor: test * feat: implement Command obj in decorators I still haven't tested these btw * feat: working subcommand system Have not made it work in extensions yet * feat: more customizable subcommand system * feat: working Command system in Extensions * refactor: add a TODO * refactor: tidy up the code, improve coro calling * refactor: rename Command.base to Command.name * feat: better group behavior * refactor: replace a few more base= with name=, tidy up code * refactor: remove client field from Command and properly teardown commands * refactor: different method of looping * feat: implement default_scope functionality * refactor: remove options param from Command.group() * refactor: make autocomplete work, change typehints, make user and message command rely on command, properly sync Command objects inside Extensions * feat: implement autodefer and spread_to_rows These are put in a new utils.py file * fix: commands and autocomplete with self not passed when inside Extensions * style: add typehints * refactor: tweak default scope setting * docs: some docstrings filled in * docs: more docstrings, organization of code * refactor: move resolving commands outside of __sync * refactor: change __all__ from list to tuple * fix: subcommands error with variables * fix: incorrect error * docs: utils.py docstrings * feat: new way of creating an ActionRow (pun intended) * refactor: make option decorator better * refactor: change Command.self to Command.extension * docs: fix incorrect typehint * docs: modify docstring * docs: new docs page * docs: add doc file * docs: move line * docs: modify docstring of spread_to_rows * refactor: rename variables * feat: implement Command.error decorator * fix: typehint * docs: attempt to fix parameters of Client docstring * ci: correct from checks. * docs: fix docstring * style: delete a blank line * docs: update quickstart * ci: correct from checks. * docs: modify quickstart * docs: document new features * docs: testing * docs: testing * docs: make it look good * docs: fix formatting * docs: add migration docs Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
is in the cache.
* docs: Fix description in ``set_rate_limit_per_user`` * feat: Adding ``premium_progress_bar_enabled`` for ``Guild``
* fix: unfuck the branch * feat: Add single-arg cache * feat: more work on get * Update get.pyi * ci: correct from checks. * Update get.py * ci: correct from checks. * Update get.py * Update get.py * ci: correct from checks. * Update get.py * Update get.py * ci: correct from checks. * Update get.py * Update get.py * feat: more work on get * feat: more work on get * feat: more work on get * feat: more work on get * Update get.py * Update get.py * ci: correct from checks. * Update get.py * Update get.py * ci: correct from checks. * Update get.py * feat: more work on get * docs: work on docs for get * Update get.py * Update get.pyi * Update get.py * ci: correct from checks. * Update get.pyi * ci: correct from checks. * Update get.py * feat: Allow `list[obj]` * Update docs/get.rst Co-authored-by: Sofia <41456914+ffl0w@users.noreply.github.com> * Update interactions/client/get.py Co-authored-by: Sofia <41456914+ffl0w@users.noreply.github.com> * fix: Fix `TpyeVar`s * fix: * fix: allow py3.9 typehints * fix: fix cache attribute and instance checks * Update interactions/client/get.py Co-authored-by: Max <maxyolo01.ytb@gmail.com> * Update interactions/client/get.py Co-authored-by: Max <maxyolo01.ytb@gmail.com> * refactor: Optimize `_search_iterable` * refactor: Optimize `_search_iterable`and use a list of tuples instead of a tuple of tuples * Update migration.rst * Update migration.rst * Update migration.rst * Update migration.rst * Update migration.rst * Update migration.rst * Update migration.rst Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sofia <41456914+ffl0w@users.noreply.github.com> Co-authored-by: Max <maxyolo01.ytb@gmail.com>
…nt data gets overwritten (#913) * refactor: add merge method for cache * refactor: Optimize `_search_iterable`and use a list of tuples instead of a tuple of tuples * refactor: Do a guild updates in events * refactor: Add caching to several HTTP methods * Update interactions/api/http/guild.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> * Update interactions/api/http/channel.py Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com> Co-authored-by: Toricane <73972068+Toricane@users.noreply.github.com>
* fix: Fix order in `getattr` calls of get * fix: Attempt to fix issue with item assignment * fix: Attempt to fix issues cache * ci: correct from checks. * fix: Attempt to fix issues cache * fix: Attempt to fix issues cache * fix: Attempt to fix issues cache * fix: Attempt to fix issues cache * fix: Attempt to fix issues cache Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking
This contains breaking changes
documentation
Improvements or additions to documentation
enhancement
New feature or request
on hold
This issue/PR is on hold pending higher priority issues/PRs
pending
Pending approve
priority
This Issue/PR must be resolved first before accepting any others
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 beta release.
This is more stable than
4.3.0-beta.1
enough for it to be warranted to be pushed into the stable branch.Checklist
pre-commit
to format and lint the change(s) made.3.8.6
and higher.