Update dependency py-cord to v2.6.0 #13

Merged
profitroll merged 1 commits from renovate/py-cord-2.x into main 2024-07-09 23:35:45 +03:00
Collaborator

This PR contains the following updates:

Package Update Change
py-cord (changelog) minor ==2.5.0 -> ==2.6.0

Release Notes

Pycord-Development/pycord (py-cord)

v2.6.0

Compare Source

Added
  • Added banner parameter to ClientUser.edit.
    (#​2396)
  • Added user argument to Paginator.edit.
    (#​2390)
  • Added bridge_option decorator. Required for bridge.Bot in 2.7.
    (#​2417)
  • Added Guild.search_members.
    (#​2418)
  • Added bulk banning up to 200 users through Guild.bulk_ban.
    (#​2421)
  • Added member data to the raw_reaction_remove event.
    (#​2412)
  • Added Poll and all related features.
    (#​2408)
  • Added stacklevel param to utils.warn_deprecated and utils.deprecated.
    (#​2450)
  • Added support for user-installable applications.
    (#​2409)
  • Added support for one-time purchases for Discord monetization.
    (#​2438)
  • Added Attachment.title.
    (#​2486)
  • Added MemberFlags. (#​2489)
  • Added bypass_verification parameter to Member.edit.
    (#​2489)
  • Added RoleFlags. (#​2487)
  • Added MessageCall information.
    (#​2488)
Fixed
  • Fixed the type-hinting of Member.move_to and Member.edit to reflect actual
    behavior. (#​2386)
  • Fixed a deprecation warning from being displayed when running python -m discord -v
    by replacing the deprecated module.
    (#​2392)
  • Fixed Paginator.edit to no longer set user to the bot.
    (#​2390)
  • Fixed NameError in some instances of Interaction.
    (#​2402)
  • Fixed interactions being ignored due to PartialMessage.id being of type str.
    (#​2406)
  • Fixed the type-hinting of ScheduledEvent.subscribers to reflect actual behavior.
    (#​2400)
  • Fixed ScheduledEvent.subscribers behavior with limit=None.
    (#​2407)
  • Fixed invalid data being passed to Interaction._guild in certain cases.
    (#​2411)
  • Fixed option typehints being ignored when using parameter_name.
    (#​2417)
  • Fixed parameter embed=None causing AttributeError on PartialMessage.edit.
    (#​2446)
  • Fixed paginator to revert state if a page update callback fails.
    (#​2448)
  • Fixed missing application_id in Entitlement.delete.
    (#​2458)
  • Fixed issues with enums as Option types with long descriptions or too many values.
    (#​2463)
  • Fixed many inaccurate type hints throughout the library.
    (#​2457)
  • Fixed AttributeError due to discord.Option being initialised with input_type set
    to None. (#​2464)
  • Fixed remove_application_command causing issues while reloading extensions.
    (#​2480)
  • Fixed outdated logic for filtering and sorting audit log entries.
    (#​2371)
  • Further fixed logic when fetching audit logs.
    (#​2492)
Changed
  • Changed the type of Guild.bitrate_limit to int.
    (#​2387)
  • HTTP requests that fail with a 503 status are now re-tried.
    (#​2395)
  • option decorator now accepts input_type.
    (#​2417)
  • Option may be used instead of BridgeOption until 2.7.
    (#​2417)
  • Guild.query_members now accepts limit=None to retrieve all members.
    (#​2419)
  • ApplicationCommand.guild_only is now deprecated in favor of
    ApplicationCommand.contexts.
    (#​2409)
  • Message.interaction is now deprecated in favor of Message.interaction_metadata.
    (#​2409)
  • Replaced Client.fetch_entitlements with Client.entitlements, which returns an
    EntitlementIterator.
    (#​2490)
  • Changed the error message that appears when attempting to add a subcommand group to a
    subcommand group. (#​2275)
Removed
  • Removed the delete_message_days parameter from ban methods. Please use
    delete_message_seconds instead.
    (#​2421)
  • Removed the oldest_first parameter from Guild.audit_logs in favor of the before
    and after parameters.
    (#​2371)
  • Removed the vanity_code parameter from Guild.edit.
    (#​2491)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [py-cord](https://github.com/Pycord-Development/pycord) ([changelog](https://docs.pycord.dev/en/master/changelog.html)) | minor | `==2.5.0` -> `==2.6.0` | --- ### Release Notes <details> <summary>Pycord-Development/pycord (py-cord)</summary> ### [`v2.6.0`](https://github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#260---2024-07-09) [Compare Source](https://github.com/Pycord-Development/pycord/compare/v2.5.0...v2.6.0) ##### Added - Added `banner` parameter to `ClientUser.edit`. ([#&#8203;2396](https://github.com/Pycord-Development/pycord/pull/2396)) - Added `user` argument to `Paginator.edit`. ([#&#8203;2390](https://github.com/Pycord-Development/pycord/pull/2390)) - Added `bridge_option` decorator. Required for `bridge.Bot` in 2.7. ([#&#8203;2417](https://github.com/Pycord-Development/pycord/pull/2417)) - Added `Guild.search_members`. ([#&#8203;2418](https://github.com/Pycord-Development/pycord/pull/2418)) - Added bulk banning up to 200 users through `Guild.bulk_ban`. ([#&#8203;2421](https://github.com/Pycord-Development/pycord/pull/2421)) - Added `member` data to the `raw_reaction_remove` event. ([#&#8203;2412](https://github.com/Pycord-Development/pycord/pull/2412)) - Added `Poll` and all related features. ([#&#8203;2408](https://github.com/Pycord-Development/pycord/pull/2408)) - Added `stacklevel` param to `utils.warn_deprecated` and `utils.deprecated`. ([#&#8203;2450](https://github.com/Pycord-Development/pycord/pull/2450)) - Added support for user-installable applications. ([#&#8203;2409](https://github.com/Pycord-Development/pycord/pull/2409)) - Added support for one-time purchases for Discord monetization. ([#&#8203;2438](https://github.com/Pycord-Development/pycord/pull/2438)) - Added `Attachment.title`. ([#&#8203;2486](https://github.com/Pycord-Development/pycord/pull/2486)) - Added `MemberFlags`. ([#&#8203;2489](https://github.com/Pycord-Development/pycord/pull/2489)) - Added `bypass_verification` parameter to `Member.edit`. ([#&#8203;2489](https://github.com/Pycord-Development/pycord/pull/2489)) - Added `RoleFlags`. ([#&#8203;2487](https://github.com/Pycord-Development/pycord/pull/2487)) - Added `MessageCall` information. ([#&#8203;2488](https://github.com/Pycord-Development/pycord/pull/2488)) ##### Fixed - Fixed the type-hinting of `Member.move_to` and `Member.edit` to reflect actual behavior. ([#&#8203;2386](https://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. ([#&#8203;2392](https://github.com/Pycord-Development/pycord/pull/2392)) - Fixed `Paginator.edit` to no longer set user to the bot. ([#&#8203;2390](https://github.com/Pycord-Development/pycord/pull/2390)) - Fixed `NameError` in some instances of `Interaction`. ([#&#8203;2402](https://github.com/Pycord-Development/pycord/pull/2402)) - Fixed interactions being ignored due to `PartialMessage.id` being of type `str`. ([#&#8203;2406](https://github.com/Pycord-Development/pycord/pull/2406)) - Fixed the type-hinting of `ScheduledEvent.subscribers` to reflect actual behavior. ([#&#8203;2400](https://github.com/Pycord-Development/pycord/pull/2400)) - Fixed `ScheduledEvent.subscribers` behavior with `limit=None`. ([#&#8203;2407](https://github.com/Pycord-Development/pycord/pull/2407)) - Fixed invalid data being passed to `Interaction._guild` in certain cases. ([#&#8203;2411](https://github.com/Pycord-Development/pycord/pull/2411)) - Fixed option typehints being ignored when using `parameter_name`. ([#&#8203;2417](https://github.com/Pycord-Development/pycord/pull/2417)) - Fixed parameter `embed=None` causing `AttributeError` on `PartialMessage.edit`. ([#&#8203;2446](https://github.com/Pycord-Development/pycord/pull/2446)) - Fixed paginator to revert state if a page update callback fails. ([#&#8203;2448](https://github.com/Pycord-Development/pycord/pull/2448)) - Fixed missing `application_id` in `Entitlement.delete`. ([#&#8203;2458](https://github.com/Pycord-Development/pycord/pull/2458)) - Fixed issues with enums as `Option` types with long descriptions or too many values. ([#&#8203;2463](https://github.com/Pycord-Development/pycord/pull/2463)) - Fixed many inaccurate type hints throughout the library. ([#&#8203;2457](https://github.com/Pycord-Development/pycord/pull/2457)) - Fixed `AttributeError` due to `discord.Option` being initialised with `input_type` set to `None`. ([#&#8203;2464](https://github.com/Pycord-Development/pycord/pull/2464)) - Fixed `remove_application_command` causing issues while reloading extensions. ([#&#8203;2480](https://github.com/Pycord-Development/pycord/pull/2480)) - Fixed outdated logic for filtering and sorting audit log entries. ([#&#8203;2371](https://github.com/Pycord-Development/pycord/pull/2371)) - Further fixed logic when fetching audit logs. ([#&#8203;2492](https://github.com/Pycord-Development/pycord/pull/2492)) ##### Changed - Changed the type of `Guild.bitrate_limit` to `int`. ([#&#8203;2387](https://github.com/Pycord-Development/pycord/pull/2387)) - HTTP requests that fail with a 503 status are now re-tried. ([#&#8203;2395](https://github.com/Pycord-Development/pycord/pull/2395)) - `option` decorator now accepts `input_type`. ([#&#8203;2417](https://github.com/Pycord-Development/pycord/pull/2417)) - `Option` may be used instead of `BridgeOption` until 2.7. ([#&#8203;2417](https://github.com/Pycord-Development/pycord/pull/2417)) - `Guild.query_members` now accepts `limit=None` to retrieve all members. ([#&#8203;2419](https://github.com/Pycord-Development/pycord/pull/2419)) - `ApplicationCommand.guild_only` is now deprecated in favor of `ApplicationCommand.contexts`. ([#&#8203;2409](https://github.com/Pycord-Development/pycord/pull/2409)) - `Message.interaction` is now deprecated in favor of `Message.interaction_metadata`. ([#&#8203;2409](https://github.com/Pycord-Development/pycord/pull/2409)) - Replaced `Client.fetch_entitlements` with `Client.entitlements`, which returns an `EntitlementIterator`. ([#&#8203;2490](https://github.com/Pycord-Development/pycord/pull/2490)) - Changed the error message that appears when attempting to add a subcommand group to a subcommand group. ([#&#8203;2275](https://github.com/Pycord-Development/pycord/pull/2275)) ##### Removed - Removed the `delete_message_days` parameter from ban methods. Please use `delete_message_seconds` instead. ([#&#8203;2421](https://github.com/Pycord-Development/pycord/pull/2421)) - Removed the `oldest_first` parameter from `Guild.audit_logs` in favor of the `before` and `after` parameters. ([#&#8203;2371](https://github.com/Pycord-Development/pycord/pull/2371)) - Removed the `vanity_code` parameter from `Guild.edit`. ([#&#8203;2491](https://github.com/Pycord-Development/pycord/pull/2491)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Renovate added 1 commit 2024-07-09 21:36:19 +03:00
Renovate scheduled this pull request to auto merge when all checks succeed 2024-07-09 21:36:19 +03:00
profitroll merged commit 20ccd58e63 into main 2024-07-09 23:35:45 +03:00
profitroll deleted branch renovate/py-cord-2.x 2024-07-09 23:35:45 +03:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VA-11_Hall-A/GloryBot#13
No description provided.