Pycord-Development/pycord (py-cord)
### [`v2.6.1`](https://redirect.github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#261---2024-09-15)
[Compare Source](https://redirect.github.com/Pycord-Development/pycord/compare/v2.6.0...v2.6.1)
##### Fixed
- Fixed premature garbage collection of tasks.
([#2510](https://redirect.github.com/Pycord-Development/pycord/pull/2510))
- Fixed `EntitlementIterator` type hints and behavior with `limit > 100`.
([#2555](https://redirect.github.com/Pycord-Development/pycord/pull/2555))
- Fixed missing `stacklevel` parameter in `warn_deprecated` function call inside
`@utils.deprecated`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500))
- Fixed the type hint in `ConnectionState._polls` to reflect actual behavior, changing it
from `Guild` to `Poll`.
([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500))
- Fixed missing `__slots__` attributes in `RawReactionClearEmojiEvent` and
`RawMessagePollVoteEvent`.
([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500))
- Fixed the type of `ForumChannel.default_sort_order`, changing it from `int` to
`SortOrder`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500))
- Fixed `PartialMessage` causing errors when created from `PartialMessageable`.
([#2568](https://redirect.github.com/Pycord-Development/pycord/pull/2500))
- Fixed the `guild` attribute of `Member`s recieved from a `UserCommand` being `None`.
([#2573](https://redirect.github.com/Pycord-Development/pycord/pull/2573))
- Fixed `Webhook.send` not including attachment data.
([#2513](https://redirect.github.com/Pycord-Development/pycord/pull/2513))
- Fixed inverted type hints in `CheckAnyFailure`.
([#2502](https://redirect.github.com/Pycord-Development/pycord/pull/2502))
### [`v2.6.0`](https://redirect.github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#260---2024-07-09)
[Compare Source](https://redirect.github.com/Pycord-Development/pycord/compare/v2.5.0...v2.6.0)
##### Added
- Added `banner` parameter to `ClientUser.edit`.
([#2396](https://redirect.github.com/Pycord-Development/pycord/pull/2396))
- Added `user` argument to `Paginator.edit`.
([#2390](https://redirect.github.com/Pycord-Development/pycord/pull/2390))
- Added `bridge_option` decorator. Required for `bridge.Bot` in 2.7.
([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417))
- Added `Guild.search_members`.
([#2418](https://redirect.github.com/Pycord-Development/pycord/pull/2418))
- Added bulk banning up to 200 users through `Guild.bulk_ban`.
([#2421](https://redirect.github.com/Pycord-Development/pycord/pull/2421))
- Added `member` data to the `raw_reaction_remove` event.
([#2412](https://redirect.github.com/Pycord-Development/pycord/pull/2412))
- Added `Poll` and all related features.
([#2408](https://redirect.github.com/Pycord-Development/pycord/pull/2408))
- Added `stacklevel` param to `utils.warn_deprecated` and `utils.deprecated`.
([#2450](https://redirect.github.com/Pycord-Development/pycord/pull/2450))
- Added support for user-installable applications.
([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409))
- Added support for one-time purchases for Discord monetization.
([#2438](https://redirect.github.com/Pycord-Development/pycord/pull/2438))
- Added `Attachment.title`.
([#2486](https://redirect.github.com/Pycord-Development/pycord/pull/2486))
- Added `MemberFlags`. ([#2489](https://redirect.github.com/Pycord-Development/pycord/pull/2489))
- Added `bypass_verification` parameter to `Member.edit`.
([#2489](https://redirect.github.com/Pycord-Development/pycord/pull/2489))
- Added `RoleFlags`. ([#2487](https://redirect.github.com/Pycord-Development/pycord/pull/2487))
- Added `MessageCall` information.
([#2488](https://redirect.github.com/Pycord-Development/pycord/pull/2488))
##### Fixed
- Fixed the type-hinting of `Member.move_to` and `Member.edit` to reflect actual
behavior. ([#2386](https://redirect.github.com/Pycord-Development/pycord/pull/2386))
- Fixed a deprecation warning from being displayed when running `python -m discord -v`
by replacing the deprecated module.
([#2392](https://redirect.github.com/Pycord-Development/pycord/pull/2392))
- Fixed `Paginator.edit` to no longer set user to the bot.
([#2390](https://redirect.github.com/Pycord-Development/pycord/pull/2390))
- Fixed `NameError` in some instances of `Interaction`.
([#2402](https://redirect.github.com/Pycord-Development/pycord/pull/2402))
- Fixed interactions being ignored due to `PartialMessage.id` being of type `str`.
([#2406](https://redirect.github.com/Pycord-Development/pycord/pull/2406))
- Fixed the type-hinting of `ScheduledEvent.subscribers` to reflect actual behavior.
([#2400](https://redirect.github.com/Pycord-Development/pycord/pull/2400))
- Fixed `ScheduledEvent.subscribers` behavior with `limit=None`.
([#2407](https://redirect.github.com/Pycord-Development/pycord/pull/2407))
- Fixed invalid data being passed to `Interaction._guild` in certain cases.
([#2411](https://redirect.github.com/Pycord-Development/pycord/pull/2411))
- Fixed option typehints being ignored when using `parameter_name`.
([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417))
- Fixed parameter `embed=None` causing `AttributeError` on `PartialMessage.edit`.
([#2446](https://redirect.github.com/Pycord-Development/pycord/pull/2446))
- Fixed paginator to revert state if a page update callback fails.
([#2448](https://redirect.github.com/Pycord-Development/pycord/pull/2448))
- Fixed missing `application_id` in `Entitlement.delete`.
([#2458](https://redirect.github.com/Pycord-Development/pycord/pull/2458))
- Fixed issues with enums as `Option` types with long descriptions or too many values.
([#2463](https://redirect.github.com/Pycord-Development/pycord/pull/2463))
- Fixed many inaccurate type hints throughout the library.
([#2457](https://redirect.github.com/Pycord-Development/pycord/pull/2457))
- Fixed `AttributeError` due to `discord.Option` being initialised with `input_type` set
to `None`. ([#2464](https://redirect.github.com/Pycord-Development/pycord/pull/2464))
- Fixed `remove_application_command` causing issues while reloading extensions.
([#2480](https://redirect.github.com/Pycord-Development/pycord/pull/2480))
- Fixed outdated logic for filtering and sorting audit log entries.
([#2371](https://redirect.github.com/Pycord-Development/pycord/pull/2371))
- Further fixed logic when fetching audit logs.
([#2492](https://redirect.github.com/Pycord-Development/pycord/pull/2492))
##### Changed
- Changed the type of `Guild.bitrate_limit` to `int`.
([#2387](https://redirect.github.com/Pycord-Development/pycord/pull/2387))
- HTTP requests that fail with a 503 status are now re-tried.
([#2395](https://redirect.github.com/Pycord-Development/pycord/pull/2395))
- `option` decorator now accepts `input_type`.
([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417))
- `Option` may be used instead of `BridgeOption` until 2.7.
([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417))
- `Guild.query_members` now accepts `limit=None` to retrieve all members.
([#2419](https://redirect.github.com/Pycord-Development/pycord/pull/2419))
- `ApplicationCommand.guild_only` is now deprecated in favor of
`ApplicationCommand.contexts`.
([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409))
- `Message.interaction` is now deprecated in favor of `Message.interaction_metadata`.
([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409))
- Replaced `Client.fetch_entitlements` with `Client.entitlements`, which returns an
`EntitlementIterator`.
([#2490](https://redirect.github.com/Pycord-Development/pycord/pull/2490))
- Changed the error message that appears when attempting to add a subcommand group to a
subcommand group. ([#2275](https://redirect.github.com/Pycord-Development/pycord/pull/2275))
##### Removed
- Removed the `delete_message_days` parameter from ban methods. Please use
`delete_message_seconds` instead.
([#2421](https://redirect.github.com/Pycord-Development/pycord/pull/2421))
- Removed the `oldest_first` parameter from `Guild.audit_logs` in favor of the `before`
and `after` parameters.
([#2371](https://redirect.github.com/Pycord-Development/pycord/pull/2371))
- Removed the `vanity_code` parameter from `Guild.edit`.
([#2491](https://redirect.github.com/Pycord-Development/pycord/pull/2491))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==2.5.0
->==2.6.1
Release Notes
Pycord-Development/pycord (py-cord)
### [`v2.6.1`](https://redirect.github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#261---2024-09-15) [Compare Source](https://redirect.github.com/Pycord-Development/pycord/compare/v2.6.0...v2.6.1) ##### Fixed - Fixed premature garbage collection of tasks. ([#2510](https://redirect.github.com/Pycord-Development/pycord/pull/2510)) - Fixed `EntitlementIterator` type hints and behavior with `limit > 100`. ([#2555](https://redirect.github.com/Pycord-Development/pycord/pull/2555)) - Fixed missing `stacklevel` parameter in `warn_deprecated` function call inside `@utils.deprecated`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500)) - Fixed the type hint in `ConnectionState._polls` to reflect actual behavior, changing it from `Guild` to `Poll`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500)) - Fixed missing `__slots__` attributes in `RawReactionClearEmojiEvent` and `RawMessagePollVoteEvent`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500)) - Fixed the type of `ForumChannel.default_sort_order`, changing it from `int` to `SortOrder`. ([#2500](https://redirect.github.com/Pycord-Development/pycord/pull/2500)) - Fixed `PartialMessage` causing errors when created from `PartialMessageable`. ([#2568](https://redirect.github.com/Pycord-Development/pycord/pull/2500)) - Fixed the `guild` attribute of `Member`s recieved from a `UserCommand` being `None`. ([#2573](https://redirect.github.com/Pycord-Development/pycord/pull/2573)) - Fixed `Webhook.send` not including attachment data. ([#2513](https://redirect.github.com/Pycord-Development/pycord/pull/2513)) - Fixed inverted type hints in `CheckAnyFailure`. ([#2502](https://redirect.github.com/Pycord-Development/pycord/pull/2502)) ### [`v2.6.0`](https://redirect.github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#260---2024-07-09) [Compare Source](https://redirect.github.com/Pycord-Development/pycord/compare/v2.5.0...v2.6.0) ##### Added - Added `banner` parameter to `ClientUser.edit`. ([#2396](https://redirect.github.com/Pycord-Development/pycord/pull/2396)) - Added `user` argument to `Paginator.edit`. ([#2390](https://redirect.github.com/Pycord-Development/pycord/pull/2390)) - Added `bridge_option` decorator. Required for `bridge.Bot` in 2.7. ([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417)) - Added `Guild.search_members`. ([#2418](https://redirect.github.com/Pycord-Development/pycord/pull/2418)) - Added bulk banning up to 200 users through `Guild.bulk_ban`. ([#2421](https://redirect.github.com/Pycord-Development/pycord/pull/2421)) - Added `member` data to the `raw_reaction_remove` event. ([#2412](https://redirect.github.com/Pycord-Development/pycord/pull/2412)) - Added `Poll` and all related features. ([#2408](https://redirect.github.com/Pycord-Development/pycord/pull/2408)) - Added `stacklevel` param to `utils.warn_deprecated` and `utils.deprecated`. ([#2450](https://redirect.github.com/Pycord-Development/pycord/pull/2450)) - Added support for user-installable applications. ([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409)) - Added support for one-time purchases for Discord monetization. ([#2438](https://redirect.github.com/Pycord-Development/pycord/pull/2438)) - Added `Attachment.title`. ([#2486](https://redirect.github.com/Pycord-Development/pycord/pull/2486)) - Added `MemberFlags`. ([#2489](https://redirect.github.com/Pycord-Development/pycord/pull/2489)) - Added `bypass_verification` parameter to `Member.edit`. ([#2489](https://redirect.github.com/Pycord-Development/pycord/pull/2489)) - Added `RoleFlags`. ([#2487](https://redirect.github.com/Pycord-Development/pycord/pull/2487)) - Added `MessageCall` information. ([#2488](https://redirect.github.com/Pycord-Development/pycord/pull/2488)) ##### Fixed - Fixed the type-hinting of `Member.move_to` and `Member.edit` to reflect actual behavior. ([#2386](https://redirect.github.com/Pycord-Development/pycord/pull/2386)) - Fixed a deprecation warning from being displayed when running `python -m discord -v` by replacing the deprecated module. ([#2392](https://redirect.github.com/Pycord-Development/pycord/pull/2392)) - Fixed `Paginator.edit` to no longer set user to the bot. ([#2390](https://redirect.github.com/Pycord-Development/pycord/pull/2390)) - Fixed `NameError` in some instances of `Interaction`. ([#2402](https://redirect.github.com/Pycord-Development/pycord/pull/2402)) - Fixed interactions being ignored due to `PartialMessage.id` being of type `str`. ([#2406](https://redirect.github.com/Pycord-Development/pycord/pull/2406)) - Fixed the type-hinting of `ScheduledEvent.subscribers` to reflect actual behavior. ([#2400](https://redirect.github.com/Pycord-Development/pycord/pull/2400)) - Fixed `ScheduledEvent.subscribers` behavior with `limit=None`. ([#2407](https://redirect.github.com/Pycord-Development/pycord/pull/2407)) - Fixed invalid data being passed to `Interaction._guild` in certain cases. ([#2411](https://redirect.github.com/Pycord-Development/pycord/pull/2411)) - Fixed option typehints being ignored when using `parameter_name`. ([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417)) - Fixed parameter `embed=None` causing `AttributeError` on `PartialMessage.edit`. ([#2446](https://redirect.github.com/Pycord-Development/pycord/pull/2446)) - Fixed paginator to revert state if a page update callback fails. ([#2448](https://redirect.github.com/Pycord-Development/pycord/pull/2448)) - Fixed missing `application_id` in `Entitlement.delete`. ([#2458](https://redirect.github.com/Pycord-Development/pycord/pull/2458)) - Fixed issues with enums as `Option` types with long descriptions or too many values. ([#2463](https://redirect.github.com/Pycord-Development/pycord/pull/2463)) - Fixed many inaccurate type hints throughout the library. ([#2457](https://redirect.github.com/Pycord-Development/pycord/pull/2457)) - Fixed `AttributeError` due to `discord.Option` being initialised with `input_type` set to `None`. ([#2464](https://redirect.github.com/Pycord-Development/pycord/pull/2464)) - Fixed `remove_application_command` causing issues while reloading extensions. ([#2480](https://redirect.github.com/Pycord-Development/pycord/pull/2480)) - Fixed outdated logic for filtering and sorting audit log entries. ([#2371](https://redirect.github.com/Pycord-Development/pycord/pull/2371)) - Further fixed logic when fetching audit logs. ([#2492](https://redirect.github.com/Pycord-Development/pycord/pull/2492)) ##### Changed - Changed the type of `Guild.bitrate_limit` to `int`. ([#2387](https://redirect.github.com/Pycord-Development/pycord/pull/2387)) - HTTP requests that fail with a 503 status are now re-tried. ([#2395](https://redirect.github.com/Pycord-Development/pycord/pull/2395)) - `option` decorator now accepts `input_type`. ([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417)) - `Option` may be used instead of `BridgeOption` until 2.7. ([#2417](https://redirect.github.com/Pycord-Development/pycord/pull/2417)) - `Guild.query_members` now accepts `limit=None` to retrieve all members. ([#2419](https://redirect.github.com/Pycord-Development/pycord/pull/2419)) - `ApplicationCommand.guild_only` is now deprecated in favor of `ApplicationCommand.contexts`. ([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409)) - `Message.interaction` is now deprecated in favor of `Message.interaction_metadata`. ([#2409](https://redirect.github.com/Pycord-Development/pycord/pull/2409)) - Replaced `Client.fetch_entitlements` with `Client.entitlements`, which returns an `EntitlementIterator`. ([#2490](https://redirect.github.com/Pycord-Development/pycord/pull/2490)) - Changed the error message that appears when attempting to add a subcommand group to a subcommand group. ([#2275](https://redirect.github.com/Pycord-Development/pycord/pull/2275)) ##### Removed - Removed the `delete_message_days` parameter from ban methods. Please use `delete_message_seconds` instead. ([#2421](https://redirect.github.com/Pycord-Development/pycord/pull/2421)) - Removed the `oldest_first` parameter from `Guild.audit_logs` in favor of the `before` and `after` parameters. ([#2371](https://redirect.github.com/Pycord-Development/pycord/pull/2371)) - Removed the `vanity_code` parameter from `Guild.edit`. ([#2491](https://redirect.github.com/Pycord-Development/pycord/pull/2491))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.