Update dependency py-cord to v2.7.0 #28

Open
renovate wants to merge 1 commit from renovate/py-cord-2.x into master
Collaborator

This PR contains the following updates:

Package Update Change
py-cord (changelog) minor ==2.6.1==2.7.0

Release Notes

Pycord-Development/pycord (py-cord)

v2.7.0

Compare Source

Added
  • Added Attachment.read_chunked and added optional chunksize argument to
    Attachment.save for retrieving attachments in chunks.
    (#​2956)
  • Added Guild.fetch_roles_member_counts method and GuildRoleCounts class.
    (#​3020)
  • Implemented with_response for interaction callbacks, adding
    Interaction.callback.is_loading() and Interaction.callback.is_ephemeral().
    (#​2711)
  • Added RawMessageUpdateEvent.new_message - message update events now contain full
    message objects (#​2780)
  • Added Guild.get_or_fetch() and Client.get_or_fetch() shortcut methods.
    (#​2776)
  • Added support for setting guild-specific avatar, banner, and bio for the bot
    user through Member.edit.
    (#​2908)
  • Added support for select default values.
    (#​2899)
    • Adds a new generic parameter to selects to type ui.Select.values return type.
    • Adds SelectDefaultValue object to create select default values.
    • Adds SelectDefaultValueType enum.
    • Adds pre-typed and pre-constructed with select_type ui.Select aliases for the
      different select types: ui.StringSelect, ui.UserSelect, ui.RoleSelect,
      ui.MentionableSelect, and ui.ChannelSelect.
  • Added store parameter to View and Modal classes.
    (#​2904)
  • Added Webhook.parent and Webhook.from_interaction
    (#​2904)
  • Added the ability to use functions with any number of optional arguments and functions
    returning an awaitable as Option.autocomplete.
    (#​2914)
  • Added ui.FileUpload for modals and the FileUpload component.
    (#​2938)
  • Added Permissions.bypass_slowmode.
    (#​2939)
  • Added support for Guild Incidents via Guild.incidents_data and
    Guild.modify_incident_actions().
    (#​2955)
  • Added mention property to BaseEmoji.
    (#​2972)
  • Added positional argument to commands.Flag.
    (#​2443)
  • Added Guild.fetch_role method.
    (#​2528)
  • Added the following AppInfo attributes: approximate_guild_count,
    approximate_user_install_count, custom_install_url, install_params,
    interactions_endpoint_url, redirect_uris, role_connections_verification_url, and
    tags. (#​2520)
  • Added Member.guild_banner and Member.display_banner properties.
    (#​2556)
  • Added support for Application Emojis.
    (#​2501)
  • Added cache_app_emojis parameter to Client.
    (#​2501)
  • Added elapsed method to VoiceClient.
    (#​2587)
  • Added optional filter parameter to utils.basic_autocomplete().
    (#​2590)
  • Added role tags: subscription_listing_id, guild_connections, and
    available_for_purchase.
    (#​2606)
  • Added missing with_counts parameter to fetch_guilds method.
    (#​2615)
  • Added the following missing permissions: Permissions.use_soundboard,
    Permissions.use_external_sounds, and
    Permissions.view_creator_monetization_analytics.
    (#​2620)
  • Added MediaChannel channel type.
    (#​2641)
  • Added Message._raw_data attribute.
    (#​2670)
  • Added helper methods to determine the authorizing party of an Interaction.
    (#​2659)
  • Added VoiceMessage subclass of File to allow voice messages to be sent.
    (#​2579)
  • Added the following soundboard-related features:
    • Manage guild soundboard sounds with Guild.fetch_sounds(), Guild.create_sound(),
      SoundboardSound.edit(), and SoundboardSound.delete().
    • Access Discord default sounds with Client.fetch_default_sounds().
    • Play sounds in voice channels with VoiceChannel.send_soundboard_sound().
    • New on_voice_channel_effect_send event for sound and emoji effects.
    • Soundboard limits based on guild premium tier (8-48 slots) in
      Guild.soundboard_limit.
      (#​2623)
  • Added new Subscription object and related methods/events.
    (#​2564)
  • Added Message.forward_to, Message.snapshots, and other related attributes.
    (#​2598)
  • Add missing Guild feature flags and Guild.edit parameters.
    (#​2672)
  • Added the ability to change the API's base URL with Route.API_BASE_URL.
    (#​2714)
  • Added the ability to pass a datetime.time object to format_dt.
    (#​2747)
  • Added the ability to pass an overlap parameter to the loop decorator and Loop
    class, allowing concurrent iterations if enabled.
    (#​2765)
  • Added various missing channel parameters and allow default_reaction_emoji to be
    None. (#​2772)
  • Added support for type hinting slash command options with typing.Annotated.
    (#​2782)
  • Added conversion to Member in MentionableConverter.
    (#​2775)
  • Added discord.Interaction.created_at.
    (#​2801)
  • Added User.nameplate property.
    (#​2817)
  • Added role gradients support with Role.colours and the RoleColours class.
    (#​2818)
  • Added ThreadArchiveDuration enum to improve clarity of thread archive durations.
    (#​2826)
  • Added Interaction.attachment_size_limit.
    (#​2854)
  • Added support for selects and text displays in modals.
    (#​2858)
  • Added AuditLogDiff.communication_disabled_until.
    (#​2883)
  • Added discord.User.primary_guild and the PrimaryGuild class.
    (#​2876)
  • Added get_component to Message, Section, Container and ActionRow.
    (#​2849)
Changed
  • Overhauled support for Components V2 and new Modal components
    (#​2904)
    • Revert discord.ui.View and discord.ui.Modal to 2.6.1 behavior; not compatible
      with new features.
    • Implemented discord.ui.DesignerView and discord.ui.DesignerModal to support new
      components.
    • DesignerView and Container do not support Button and Select directly; use
      discord.ui.ActionRow instead.
    • DesignerModal does not support InputText and Select directly; use
      discord.ui.Label instead.
    • Removed InputText.description, Select.label and Select.description; these are
      now attributes of Label.
    • discord.ui.Item is now a base class for ViewItem and ModalItem; all items
      inherit from these.
    • All view and modal classes now inherit from a base ItemInterface class, split into
      BaseView and BaseModal
  • Renamed cover property of ScheduledEvent and cover argument of
    ScheduledEvent.edit to image.
    (#​2496)
  • ⚠️ Removed support for Python 3.8.
    (#​2521)
  • Emoji has been renamed to GuildEmoji.
    (#​2501)
  • Replaced audioop (deprecated module) implementation of PCMVolumeTransformer.read
    method with a pure Python equivalent.
    (#​2176)
  • Updated Guild.filesize_limit to 10 MB instead of 25 MB following Discord's API
    changes. (#​2671)
  • Entitlement.ends_at can now be None.
    (#​2564)
  • Changed the default value of ApplicationCommand.nsfw to False.
    (#​2797)
  • Upgraded voice websocket version to v8.
    (#​2812)
  • Messageable.pins() now returns a MessagePinIterator and has new arguments.
    (#​2872)
Fixed
  • Fixed the view attribute on many view items being incorrect.
    (#​2981)
  • Fixed TypeError in paginator implementation when only passing PageGroup objects
    and show_menu is falsy.
    (#​2993)
  • Fixed breaking change in ui.Select Generic typing by adding default values to
    TypeVars. (#​3002)
  • Fixed View's disable_on_timeout not working in private (DM) channels.
    (#​3016)
  • Manage silence for new SSRC with existing user_id.
    (#​2808)
  • Unbound raw reference in parse_message_update causing errors on message updates.
    (#​2905)
  • view=None in various methods causing an AttributeError.
    (#​2915)
  • View.message being None when it had not been interacted with yet.
    (#​2916)
  • Fixed a crash when processing message edit events while message cache was disabled.
    (#​2924)
  • Fixed OPUS Decode Error when recording audio.
    (#​2925)
  • Fixed a TypeError when typing ui.Select without providing optional type arguments.
    (#​2943)
  • Fixed modal input values being misordered when using the row parameter and inserting
    items out of row order.
    (#​2938)
  • Fixed a KeyError when a text input is left blank in a modal.
    (#​2938)
  • Fixed TypeError when using Python 3.12+ type syntax for typing slash command
    parameters. (#​2952)
  • Fixed autocomplete crashing when using an async staticmethod.
    (#​2966)
  • Fixed attributes like :attr:Member.display_banner being None when the member has
    no guild specific banner, but does have a global one.
    (#​2968)
  • Fixed __repr__ formatting for AppEmoji.
    (#​2972)
  • Fixed Enum options not setting the correct type when only one choice is available.
    (#​2577)
  • Fixed codec option for FFmpegOpusAudio class to make it in line with
    documentation. (#​2581)
  • Fixed a possible bug where audio would play too fast at the beginning of audio files.
    (#​2584)
  • Fixed paginator not responding when using Paginator.edit() with default parameters.
    (#​2594)
  • Fixed the is_owner() user type hint: User -> User | Member.
    (#​2593)
  • Fixed Guild.create_test_entitlement() and User.create_test_entitlement() using the
    guild/user ID instead of the application ID.
    (#​2595)
  • Fixed BucketType.category cooldown commands not functioning correctly in private
    channels. (#​2603)
  • Fixed ctx parameter of a SlashCommand not being Union type.
    (#​2611)
  • Fixed TypeError when passing skus parameter in Client.entitlements().
    (#​2627)
  • Fixed AttributeError when sending polls with PartialWebook.
    (#​2624)
  • Fixed editing ForumChannel flags not working.
    (#​2641)
  • Fixed AttributeError when accessing Member.guild_permissions for user installed
    apps. (#​2650)
  • Fixed type annotations of cached properties.
    (#​2635)
  • Fixed malformed properties in Interaction.channel.
    (#​2658)
  • Fixed an error when responding non-ephemerally with a Paginator to an ephemerally
    deferred interaction.
    (#​2661)
  • Fixed attachment metadata being set incorrectly in interaction responses causing the
    metadata to be ignored by Discord.
    (#​2679)
  • Fixed unexpected backoff behavior in the handling of task failures
    (#​2700).
  • Fixed BridgeCommand duplicate in default help command.
    (#​2656)
  • Fixed AttributeError when trying to consume a consumable entitlement.
    (#​2564)
  • Fixed Subscription.renewal_sku_ids not accepting None from the received payload.
    (#​2709)
  • Fixed ForumChannel.edit allowing default_reaction_emoji to be None.
    (#​2739)
  • Fixed missing None type hints in Select.__init__.
    (#​2746)
  • Fixed TypeError when using Flag with Python 3.11+.
    (#​2759)
  • Fixed TypeError when specifying thread_name in Webhook.send.
    (#​2761)
  • Updated valid_locales to support in and es-419.
    (#​2767)
  • Added support for emoji aliases like :smile: in PartialEmoji.from_str. Also applied
    the same logic in PartialEmojiConverter.
    (#​2815)
  • Fixed Webhook.edit not working with attachments=[].
    (#​2779)
  • Fixed GIF-based Sticker returning the wrong url.
    (#​2781)
  • Fixed VoiceClient crashing randomly while receiving audio
    (#​2800)
  • Fixed VoiceClient.connect failing to do initial connection.
    (#​2812)
  • Fixed AttributeError when printing a File component's __repr__.
    (#​2843)
  • Fixed TypeError when using @option with certain annotations and along with
    channel_types. (#​2835)
  • Fixed TypeError when using Optional[...] or ... | None in command option type.
    (#​2852)
  • Fixed type-hinting for PermissionOverwrite.update.
    (#​2878)
  • Fixed AttributeError when accessing AuditLogEntry.changes more than once.
    ([#​2882])(#​2882))
  • Fixed type hint for argument start_time and end_time of
    Guild.create_scheduled_event
    (#​2879)
Deprecated
  • Deprecated manually setting the view attribute on view items.
    (#​2981)
  • Deprecated utils.get_or_fetch(attr, id) and Client.get_or_fetch_user(id) in favour
    of utils.get_or_fetch(object_type, object_id) and Client.get_or_fetch(User, id).
    (#​2776)
  • Deprecated AppInfo.summary in favor of AppInfo.description.
    (#​2520)
  • Deprecated Emoji in favor of GuildEmoji.
    (#​2501)
  • Deprecated Interaction.cached_channel in favor of Interaction.channel.
    (#​2658)
  • Deprecated is_nsfw for categories since it was never supported by the API.
    (#​2772)
  • Deprecated Messageable.pins() returning a list of Message; it should be used as an
    iterator of MessagePin instead.
    (#​2872)
Removed
  • ⚠️ Removed support for Python 3.9.
    (#​2986)
  • Removed deprecated support for Option in BridgeCommand, use BridgeOption
    instead. (#​2731)

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 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.6.1` → `==2.7.0` | --- ### Release Notes <details> <summary>Pycord-Development/pycord (py-cord)</summary> ### [`v2.7.0`](https://github.com/Pycord-Development/pycord/blob/HEAD/CHANGELOG.md#270---2025-12-24) [Compare Source](https://github.com/Pycord-Development/pycord/compare/v2.6.1...v2.7.0) ##### Added - Added `Attachment.read_chunked` and added optional `chunksize` argument to `Attachment.save` for retrieving attachments in chunks. ([#&#8203;2956](https://github.com/Pycord-Development/pycord/pull/2956)) - Added `Guild.fetch_roles_member_counts` method and `GuildRoleCounts` class. ([#&#8203;3020](https://github.com/Pycord-Development/pycord/pull/3020)) - Implemented `with_response` for interaction callbacks, adding `Interaction.callback.is_loading()` and `Interaction.callback.is_ephemeral()`. ([#&#8203;2711](https://github.com/Pycord-Development/pycord/pull/2711)) - Added `RawMessageUpdateEvent.new_message` - message update events now contain full message objects ([#&#8203;2780](https://github.com/Pycord-Development/pycord/pull/2780)) - Added `Guild.get_or_fetch()` and `Client.get_or_fetch()` shortcut methods. ([#&#8203;2776](https://github.com/Pycord-Development/pycord/pull/2776)) - Added support for setting guild-specific `avatar`, `banner`, and `bio` for the bot user through `Member.edit`. ([#&#8203;2908](https://github.com/Pycord-Development/pycord/pull/2908)) - Added support for select default values. ([#&#8203;2899](https://github.com/Pycord-Development/pycord/pull/2899)) - Adds a new generic parameter to selects to type `ui.Select.values` return type. - Adds `SelectDefaultValue` object to create select default values. - Adds `SelectDefaultValueType` enum. - Adds pre-typed and pre-constructed with select\_type `ui.Select` aliases for the different select types: `ui.StringSelect`, `ui.UserSelect`, `ui.RoleSelect`, `ui.MentionableSelect`, and `ui.ChannelSelect`. - Added `store` parameter to `View` and `Modal` classes. ([#&#8203;2904](https://github.com/Pycord-Development/pycord/pull/2904/)) - Added `Webhook.parent` and `Webhook.from_interaction` ([#&#8203;2904](https://github.com/Pycord-Development/pycord/pull/2904/)) - Added the ability to use functions with any number of optional arguments and functions returning an awaitable as `Option.autocomplete`. ([#&#8203;2914](https://github.com/Pycord-Development/pycord/pull/2914)) - Added `ui.FileUpload` for modals and the `FileUpload` component. ([#&#8203;2938](https://github.com/Pycord-Development/pycord/pull/2938)) - Added `Permissions.bypass_slowmode`. ([#&#8203;2939](https://github.com/Pycord-Development/pycord/pull/2939)) - Added support for Guild Incidents via `Guild.incidents_data` and `Guild.modify_incident_actions()`. ([#&#8203;2955](https://github.com/Pycord-Development/pycord/pull/2955)) - Added `mention` property to `BaseEmoji`. ([#&#8203;2972](https://github.com/Pycord-Development/pycord/pull/2972)) - Added `positional` argument to `commands.Flag`. ([#&#8203;2443](https://github.com/Pycord-Development/pycord/pull/2443)) - Added `Guild.fetch_role` method. ([#&#8203;2528](https://github.com/Pycord-Development/pycord/pull/2528)) - Added the following `AppInfo` attributes: `approximate_guild_count`, `approximate_user_install_count`, `custom_install_url`, `install_params`, `interactions_endpoint_url`, `redirect_uris`, `role_connections_verification_url`, and `tags`. ([#&#8203;2520](https://github.com/Pycord-Development/pycord/pull/2520)) - Added `Member.guild_banner` and `Member.display_banner` properties. ([#&#8203;2556](https://github.com/Pycord-Development/pycord/pull/2556)) - Added support for Application Emojis. ([#&#8203;2501](https://github.com/Pycord-Development/pycord/pull/2501)) - Added `cache_app_emojis` parameter to `Client`. ([#&#8203;2501](https://github.com/Pycord-Development/pycord/pull/2501)) - Added `elapsed` method to `VoiceClient`. ([#&#8203;2587](https://github.com/Pycord-Development/pycord/pull/2587/)) - Added optional `filter` parameter to `utils.basic_autocomplete()`. ([#&#8203;2590](https://github.com/Pycord-Development/pycord/pull/2590)) - Added role tags: `subscription_listing_id`, `guild_connections`, and `available_for_purchase`. ([#&#8203;2606](https://github.com/Pycord-Development/pycord/pull/2606)) - Added missing `with_counts` parameter to `fetch_guilds` method. ([#&#8203;2615](https://github.com/Pycord-Development/pycord/pull/2615)) - Added the following missing permissions: `Permissions.use_soundboard`, `Permissions.use_external_sounds`, and `Permissions.view_creator_monetization_analytics`. ([#&#8203;2620](https://github.com/Pycord-Development/pycord/pull/2620)) - Added `MediaChannel` channel type. ([#&#8203;2641](https://github.com/Pycord-Development/pycord/pull/2641)) - Added `Message._raw_data` attribute. ([#&#8203;2670](https://github.com/Pycord-Development/pycord/pull/2670)) - Added helper methods to determine the authorizing party of an `Interaction`. ([#&#8203;2659](https://github.com/Pycord-Development/pycord/pull/2659)) - Added `VoiceMessage` subclass of `File` to allow voice messages to be sent. ([#&#8203;2579](https://github.com/Pycord-Development/pycord/pull/2579)) - Added the following soundboard-related features: - Manage guild soundboard sounds with `Guild.fetch_sounds()`, `Guild.create_sound()`, `SoundboardSound.edit()`, and `SoundboardSound.delete()`. - Access Discord default sounds with `Client.fetch_default_sounds()`. - Play sounds in voice channels with `VoiceChannel.send_soundboard_sound()`. - New `on_voice_channel_effect_send` event for sound and emoji effects. - Soundboard limits based on guild premium tier (8-48 slots) in `Guild.soundboard_limit`. ([#&#8203;2623](https://github.com/Pycord-Development/pycord/pull/2623)) - Added new `Subscription` object and related methods/events. ([#&#8203;2564](https://github.com/Pycord-Development/pycord/pull/2564)) - Added `Message.forward_to`, `Message.snapshots`, and other related attributes. ([#&#8203;2598](https://github.com/Pycord-Development/pycord/pull/2598)) - Add missing `Guild` feature flags and `Guild.edit` parameters. ([#&#8203;2672](https://github.com/Pycord-Development/pycord/pull/2672)) - Added the ability to change the API's base URL with `Route.API_BASE_URL`. ([#&#8203;2714](https://github.com/Pycord-Development/pycord/pull/2714)) - Added the ability to pass a `datetime.time` object to `format_dt`. ([#&#8203;2747](https://github.com/Pycord-Development/pycord/pull/2747)) - Added the ability to pass an `overlap` parameter to the `loop` decorator and `Loop` class, allowing concurrent iterations if enabled. ([#&#8203;2765](https://github.com/Pycord-Development/pycord/pull/2765)) - Added various missing channel parameters and allow `default_reaction_emoji` to be `None`. ([#&#8203;2772](https://github.com/Pycord-Development/pycord/pull/2772)) - Added support for type hinting slash command options with `typing.Annotated`. ([#&#8203;2782](https://github.com/Pycord-Development/pycord/pull/2782)) - Added conversion to `Member` in `MentionableConverter`. ([#&#8203;2775](https://github.com/Pycord-Development/pycord/pull/2775)) - Added `discord.Interaction.created_at`. ([#&#8203;2801](https://github.com/Pycord-Development/pycord/pull/2801)) - Added `User.nameplate` property. ([#&#8203;2817](https://github.com/Pycord-Development/pycord/pull/2817)) - Added role gradients support with `Role.colours` and the `RoleColours` class. ([#&#8203;2818](https://github.com/Pycord-Development/pycord/pull/2818)) - Added `ThreadArchiveDuration` enum to improve clarity of thread archive durations. ([#&#8203;2826](https://github.com/Pycord-Development/pycord/pull/2826)) - Added `Interaction.attachment_size_limit`. ([#&#8203;2854](https://github.com/Pycord-Development/pycord/pull/2854)) - Added support for selects and text displays in modals. ([#&#8203;2858](https://github.com/Pycord-Development/pycord/pull/2858)) - Added `AuditLogDiff.communication_disabled_until`. ([#&#8203;2883](https://github.com/Pycord-Development/pycord/pull/2883)) - Added `discord.User.primary_guild` and the `PrimaryGuild` class. ([#&#8203;2876](https://github.com/Pycord-Development/pycord/pull/2876)) - Added `get_component` to `Message`, `Section`, `Container` and `ActionRow`. ([#&#8203;2849](https://github.com/Pycord-Development/pycord/pull/2849)) ##### Changed - Overhauled support for Components V2 and new Modal components ([#&#8203;2904](https://github.com/Pycord-Development/pycord/pull/2904/)) - Revert `discord.ui.View` and `discord.ui.Modal` to 2.6.1 behavior; not compatible with new features. - Implemented `discord.ui.DesignerView` and `discord.ui.DesignerModal` to support new components. - `DesignerView` and `Container` do not support `Button` and `Select` directly; use `discord.ui.ActionRow` instead. - `DesignerModal` does not support `InputText` and `Select` directly; use `discord.ui.Label` instead. - Removed `InputText.description`, `Select.label` and `Select.description`; these are now attributes of `Label`. - `discord.ui.Item` is now a base class for `ViewItem` and `ModalItem`; all items inherit from these. - All view and modal classes now inherit from a base `ItemInterface` class, split into `BaseView` and `BaseModal` - Renamed `cover` property of `ScheduledEvent` and `cover` argument of `ScheduledEvent.edit` to `image`. ([#&#8203;2496](https://github.com/Pycord-Development/pycord/pull/2496)) - ⚠️ **Removed support for Python 3.8.** ([#&#8203;2521](https://github.com/Pycord-Development/pycord/pull/2521)) - `Emoji` has been renamed to `GuildEmoji`. ([#&#8203;2501](https://github.com/Pycord-Development/pycord/pull/2501)) - Replaced audioop (deprecated module) implementation of `PCMVolumeTransformer.read` method with a pure Python equivalent. ([#&#8203;2176](https://github.com/Pycord-Development/pycord/pull/2176)) - Updated `Guild.filesize_limit` to 10 MB instead of 25 MB following Discord's API changes. ([#&#8203;2671](https://github.com/Pycord-Development/pycord/pull/2671)) - `Entitlement.ends_at` can now be `None`. ([#&#8203;2564](https://github.com/Pycord-Development/pycord/pull/2564)) - Changed the default value of `ApplicationCommand.nsfw` to `False`. ([#&#8203;2797](https://github.com/Pycord-Development/pycord/pull/2797)) - Upgraded voice websocket version to v8. ([#&#8203;2812](https://github.com/Pycord-Development/pycord/pull/2812)) - `Messageable.pins()` now returns a `MessagePinIterator` and has new arguments. ([#&#8203;2872](https://github.com/Pycord-Development/pycord/pull/2872)) ##### Fixed - Fixed the `view` attribute on many view items being incorrect. ([#&#8203;2981](https://github.com/Pycord-Development/pycord/pull/2981)) - Fixed `TypeError` in paginator implementation when only passing `PageGroup` objects and `show_menu` is falsy. ([#&#8203;2993](https://github.com/Pycord-Development/pycord/pull/2993)) - Fixed breaking change in `ui.Select` Generic typing by adding default values to TypeVars. ([#&#8203;3002](https://github.com/Pycord-Development/pycord/pull/3002)) - Fixed `View`'s `disable_on_timeout` not working in private (DM) channels. ([#&#8203;3016](https://github.com/Pycord-Development/pycord/pull/3016)) - Manage silence for new SSRC with existing user\_id. ([#&#8203;2808](https://github.com/Pycord-Development/pycord/pull/2808)) - Unbound `raw` reference in `parse_message_update` causing errors on message updates. ([#&#8203;2905](https://github.com/Pycord-Development/pycord/pull/2905)) - `view=None` in various methods causing an AttributeError. ([#&#8203;2915](https://github.com/Pycord-Development/pycord/pull/2915)) - `View.message` being `None` when it had not been interacted with yet. ([#&#8203;2916](https://github.com/Pycord-Development/pycord/pull/2916)) - Fixed a crash when processing message edit events while message cache was disabled. ([#&#8203;2924](https://github.com/Pycord-Development/pycord/pull/2924)) - Fixed OPUS Decode Error when recording audio. ([#&#8203;2925](https://github.com/Pycord-Development/pycord/pull/2925)) - Fixed a `TypeError` when typing `ui.Select` without providing optional type arguments. ([#&#8203;2943](https://github.com/Pycord-Development/pycord/pull/2943)) - Fixed modal input values being misordered when using the `row` parameter and inserting items out of row order. ([#&#8203;2938](https://github.com/Pycord-Development/pycord/pull/2938)) - Fixed a KeyError when a text input is left blank in a modal. ([#&#8203;2938](https://github.com/Pycord-Development/pycord/pull/2938)) - Fixed `TypeError` when using Python 3.12+ `type` syntax for typing slash command parameters. ([#&#8203;2952](https://github.com/Pycord-Development/pycord/pull/2952)) - Fixed autocomplete crashing when using an async staticmethod. ([#&#8203;2966](https://github.com/Pycord-Development/pycord/pull/2966)) - Fixed attributes like :attr:`Member.display_banner` being `None` when the member has no guild specific banner, but does have a global one. ([#&#8203;2968](https://github.com/Pycord-Development/pycord/pull/2949)) - Fixed `__repr__` formatting for `AppEmoji`. ([#&#8203;2972](https://github.com/Pycord-Development/pycord/pull/2972)) - Fixed `Enum` options not setting the correct type when only one choice is available. ([#&#8203;2577](https://github.com/Pycord-Development/pycord/pull/2577)) - Fixed `codec` option for `FFmpegOpusAudio` class to make it in line with documentation. ([#&#8203;2581](https://github.com/Pycord-Development/pycord/pull/2581)) - Fixed a possible bug where audio would play too fast at the beginning of audio files. ([#&#8203;2584](https://github.com/Pycord-Development/pycord/pull/2584)) - Fixed paginator not responding when using `Paginator.edit()` with default parameters. ([#&#8203;2594](https://github.com/Pycord-Development/pycord/pull/2594)) - Fixed the `is_owner()` `user` type hint: `User` -> `User | Member`. ([#&#8203;2593](https://github.com/Pycord-Development/pycord/pull/2593)) - Fixed `Guild.create_test_entitlement()` and `User.create_test_entitlement()` using the guild/user ID instead of the application ID. ([#&#8203;2595](https://github.com/Pycord-Development/pycord/pull/2595)) - Fixed `BucketType.category` cooldown commands not functioning correctly in private channels. ([#&#8203;2603](https://github.com/Pycord-Development/pycord/pull/2603)) - Fixed `ctx` parameter of a `SlashCommand` not being `Union` type. ([#&#8203;2611](https://github.com/Pycord-Development/pycord/pull/2611)) - Fixed `TypeError` when passing `skus` parameter in `Client.entitlements()`. ([#&#8203;2627](https://github.com/Pycord-Development/pycord/issues/2627)) - Fixed `AttributeError` when sending polls with `PartialWebook`. ([#&#8203;2624](https://github.com/Pycord-Development/pycord/pull/2624)) - Fixed editing `ForumChannel` flags not working. ([#&#8203;2641](https://github.com/Pycord-Development/pycord/pull/2641)) - Fixed `AttributeError` when accessing `Member.guild_permissions` for user installed apps. ([#&#8203;2650](https://github.com/Pycord-Development/pycord/pull/2650)) - Fixed type annotations of cached properties. ([#&#8203;2635](https://github.com/Pycord-Development/pycord/issues/2635)) - Fixed malformed properties in `Interaction.channel`. ([#&#8203;2658](https://github.com/Pycord-Development/pycord/pull/2658)) - Fixed an error when responding non-ephemerally with a `Paginator` to an ephemerally deferred interaction. ([#&#8203;2661](https://github.com/Pycord-Development/pycord/pull/2661)) - Fixed attachment metadata being set incorrectly in interaction responses causing the metadata to be ignored by Discord. ([#&#8203;2679](https://github.com/Pycord-Development/pycord/pull/2679)) - Fixed unexpected backoff behavior in the handling of task failures ([#&#8203;2700](https://github.com/Pycord-Development/pycord/pull/2700)). - Fixed `BridgeCommand` duplicate in default help command. ([#&#8203;2656](https://github.com/Pycord-Development/pycord/pull/2656)) - Fixed `AttributeError` when trying to consume a consumable entitlement. ([#&#8203;2564](https://github.com/Pycord-Development/pycord/pull/2564)) - Fixed `Subscription.renewal_sku_ids` not accepting `None` from the received payload. ([#&#8203;2709](https://github.com/Pycord-Development/pycord/pull/2709)) - Fixed `ForumChannel.edit` allowing `default_reaction_emoji` to be `None`. ([#&#8203;2739](https://github.com/Pycord-Development/pycord/pull/2739)) - Fixed missing `None` type hints in `Select.__init__`. ([#&#8203;2746](https://github.com/Pycord-Development/pycord/pull/2746)) - Fixed `TypeError` when using `Flag` with Python 3.11+. ([#&#8203;2759](https://github.com/Pycord-Development/pycord/pull/2759)) - Fixed `TypeError` when specifying `thread_name` in `Webhook.send`. ([#&#8203;2761](https://github.com/Pycord-Development/pycord/pull/2761)) - Updated `valid_locales` to support `in` and `es-419`. ([#&#8203;2767](https://github.com/Pycord-Development/pycord/pull/2767)) - Added support for emoji aliases like `:smile:` in PartialEmoji.from\_str. Also applied the same logic in PartialEmojiConverter. ([#&#8203;2815](https://github.com/Pycord-Development/pycord/pull/2815)) - Fixed `Webhook.edit` not working with `attachments=[]`. ([#&#8203;2779](https://github.com/Pycord-Development/pycord/pull/2779)) - Fixed GIF-based `Sticker` returning the wrong `url`. ([#&#8203;2781](https://github.com/Pycord-Development/pycord/pull/2781)) - Fixed `VoiceClient` crashing randomly while receiving audio ([#&#8203;2800](https://github.com/Pycord-Development/pycord/pull/2800)) - Fixed `VoiceClient.connect` failing to do initial connection. ([#&#8203;2812](https://github.com/Pycord-Development/pycord/pull/2812)) - Fixed `AttributeError` when printing a File component's `__repr__`. ([#&#8203;2843](https://github.com/Pycord-Development/pycord/pull/2843)) - Fixed `TypeError` when using `@option` with certain annotations and along with `channel_types`. ([#&#8203;2835](https://github.com/Pycord-Development/pycord/pull/2835)) - Fixed `TypeError` when using `Optional[...]` or `... | None` in command option type. ([#&#8203;2852](https://github.com/Pycord-Development/pycord/pull/2852)) - Fixed type-hinting for `PermissionOverwrite.update`. ([#&#8203;2878](https://github.com/Pycord-Development/pycord/pull/2878)) - Fixed `AttributeError` when accessing `AuditLogEntry.changes` more than once. (\[[#&#8203;2882](https://github.com/Pycord-Development/pycord/issues/2882)])([#&#8203;2882](https://github.com/Pycord-Development/pycord/pull/2882))) - Fixed type hint for argument `start_time` and `end_time` of `Guild.create_scheduled_event` ([#&#8203;2879](https://github.com/Pycord-Development/pycord/pull/2879)) ##### Deprecated - Deprecated manually setting the `view` attribute on view items. ([#&#8203;2981](https://github.com/Pycord-Development/pycord/pull/2981)) - Deprecated `utils.get_or_fetch(attr, id)` and `Client.get_or_fetch_user(id)` in favour of `utils.get_or_fetch(object_type, object_id)` and `Client.get_or_fetch(User, id)`. ([#&#8203;2776](https://github.com/Pycord-Development/pycord/pull/2776)) - Deprecated `AppInfo.summary` in favor of `AppInfo.description`. ([#&#8203;2520](https://github.com/Pycord-Development/pycord/pull/2520)) - Deprecated `Emoji` in favor of `GuildEmoji`. ([#&#8203;2501](https://github.com/Pycord-Development/pycord/pull/2501)) - Deprecated `Interaction.cached_channel` in favor of `Interaction.channel`. ([#&#8203;2658](https://github.com/Pycord-Development/pycord/pull/2658)) - Deprecated `is_nsfw` for categories since it was never supported by the API. ([#&#8203;2772](https://github.com/Pycord-Development/pycord/pull/2772)) - Deprecated `Messageable.pins()` returning a list of `Message`; it should be used as an iterator of `MessagePin` instead. ([#&#8203;2872](https://github.com/Pycord-Development/pycord/pull/2872)) ##### Removed - ⚠️ **Removed support for Python 3.9.** ([#&#8203;2986](https://github.com/Pycord-Development/pycord/pull/2986)) - Removed deprecated support for `Option` in `BridgeCommand`, use `BridgeOption` instead. ([#&#8203;2731](https://github.com/Pycord-Development/pycord/pull/2731)) </details> --- ### 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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0Mi42Ni4yIiwidXBkYXRlZEluVmVyIjoiNDIuODkuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Update dependency py-cord to v2.7.0
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pull_request_metadata/build Pipeline was successful
022eb94484
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pull_request_metadata/build Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/py-cord-2.x:renovate/py-cord-2.x
git switch renovate/py-cord-2.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/py-cord-2.x
git switch renovate/py-cord-2.x
git rebase master
git switch master
git merge --ff-only renovate/py-cord-2.x
git switch renovate/py-cord-2.x
git rebase master
git switch master
git merge --no-ff renovate/py-cord-2.x
git switch master
git merge --squash renovate/py-cord-2.x
git switch master
git merge --ff-only renovate/py-cord-2.x
git switch master
git merge renovate/py-cord-2.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
secondhemd/shbot!28
No description provided.