-
Notifications
You must be signed in to change notification settings - Fork 187
5.12.0 #1665
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
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
updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.5...v0.1.6)
…#1585) * fix: assume ratelimit reset after is 0 if small amount * fix: set remaining to 1 under edge case * fix: only reset if remaining is 0
ci: migrate ruff 0.1.5 -> 0.1.6
* feat: add safety_alerts_channel_id to http modify_guild method * feat: add security_alert_channel to guild model
There is a type of embed type missing. The auto moderation notification is added to the enum. Signed-off-by: retr0-init <146389702+retr0-init@users.noreply.github.com> Co-authored-by: LordOfPolls <dev@lordofpolls.com>
* feat: add nonce and enforce_nonce to SendMixin * fix: oops
* fix: Correct the return type of fetch_channels Signed-off-by: retr0-init <146389702+retr0-init@users.noreply.github.com> * fix: Revert return type of fetch_channels for GuildWidget This is meant to be TYPE_VOICE_CHANNEL due to it being a GuildWidget, so this should be reverted. #1622 (review) Signed-off-by: retr0-init <146389702+retr0-init@users.noreply.github.com> --------- Signed-off-by: retr0-init <146389702+retr0-init@users.noreply.github.com> Co-authored-by: LordOfPolls <dev@lordofpolls.com>
* feat: ability to define which shards connect * refactor: AutoShardedClient's only_shards to shard_ids
* fix: fixed change_presence function docs * ci: correct from checks. --------- Co-authored-by: LordOfPolls <dev@lordofpolls.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
You can invite people to a forum, after all.
* feat: add toggle for fail_if_not_exists for PrefixedContext.reply * docs: parity with other fail_if_not_exists
* ci: weekly check. updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.3.2](astral-sh/ruff-pre-commit@v0.1.6...v0.3.2) - [github.com/psf/black: 23.11.0 → 24.2.0](psf/black@23.11.0...24.2.0) * ci: correct from checks. * chore: Acknowledge where we're intentionally discarding created tasks (RUF006) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
Updates the Error Tracking guide to use SENTRY_DSN in line with Sentry.io documentation, as well as any other references of "Sentry token", such as in the setup error message. Add `dsn` to args of interactions.ext.sentry.setup(). This argument will be used over `token` if set, but existing users who use `load_extension(..., token="dsn")` should not be affected by this fix.
* docs: improve slash command guide * fix: oops * fix: grammar
* add has_any_role * Add missing stub * ci: correct from checks. --------- Co-authored-by: LordOfPolls <dev@lordofpolls.com> Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [feat] Add CronTrigger * [feat] Add timezone support to CronTrigger * docs: utc -> tz rename Signed-off-by: 18 <111544899+xvi-ii@users.noreply.github.com> * ci: correct from checks. * docs: specify tz as datetime attribute I'm aware that datetime is not what it actually is, but we shouldn't be using private data types in our docstrings. Developers will additionally be using it as a reference, not the literal representation when using Signed-off-by: 18 <111544899+xvi-ii@users.noreply.github.com> --------- Signed-off-by: 18 <111544899+xvi-ii@users.noreply.github.com> Co-authored-by: 18 <111544899+xvi-ii@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Add croniter to requirements.txt, and change the import of the stub-only `datetime._TzInfo` to only run when type checking
As None is a valid value now, as of 3.12.3 it cannot be used for the name python/cpython#116040
* feat: add ctx.defer() kwarg suppress_error * fix: docstring oops * docs: remove note on specific use case * docs: refactor defer usage note for clarity * docs: use orig "followup" than "new one" on modal * feat: suppress hybrid cmd trigger typing errors
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## stable #1665 +/- ##
==========================================
+ Coverage 45.96% 46.18% +0.22%
==========================================
Files 144 148 +4
Lines 15437 15772 +335
==========================================
+ Hits 7096 7285 +189
- Misses 8341 8487 +146 ☔ View full report in Codecov by Sentry. |
AstreaTSS
approved these changes
Apr 29, 2024
eightween
approved these changes
Apr 29, 2024
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.
Pull Request Type
Description
I want to get the enum fix out the door, but realistically, it's been too long since a release regardless.
Changes
See commits.
Related Issues
Test Scenarios
Python Compatibility
3.10.x
3.11.x
Checklist
pre-commit
code linter over all edited files