Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 24, 2025

This PR contains the following updates:

Package Change Age Confidence
py-cord (changelog) ==2.6.1 -> ==2.7.0 age confidence

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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 24, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv dj4h in /tmp/renovate/repos/github/AsyncCommunityDiscord/DJ4H/.venv

The current project's supported Python range (>=3.10) is not compatible with some of the required packages Python requirement:
  - py-cord requires Python <3.14,>=3.10, so it will not be installable for Python >=3.14

Because dj4h depends on py-cord (2.7.0) which requires Python <3.14,>=3.10, version solving failed.

  * Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For py-cord, a possible solution would be to set the `python` property to ">=3.10,<3.14"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant