Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Update dependency py-cord to v2.5.0 #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
py-cord (changelog) ==2.4.1 -> ==2.5.0 age adoption passing confidence

Release Notes

Pycord-Development/pycord (py-cord)

v2.5.0

Compare Source

Added
  • Added method to start bot via async context manager.
    (#​1801)
  • Added parameters author, footer, image and thumbnail to discord.Embed
    initializer. (#​1996)
  • Added events on_bridge_command, on_bridge_command_completion, and
    on_bridge_command_error.
    (#​1916)
  • Added the @client.once() decorator, which serves as a one-time event listener.
    (#​1940)
  • Added support for text-related features in StageChannel.
    (#​1936)
  • Added support for one-time event listeners in Client.listen.
    (#​1957)
  • Added current_page argument to Paginator.update().
    (#​1983)
  • Added application flag application_auto_moderation_rule_create_badge.
    (#​1992)
  • Added support for recording silence via new sync_start argument in
    VoiceClient.start_recording().
    (#​1984)
  • Added custom_message to AutoModActionMetadata.
    (#​2029)
  • Added support for
    voice messages.
    (#​2016)
  • Added data attribute to all
    Raw Event payloads.
    (#​2023)
  • Added and documented missing AuditLogAction enums.
    (#​2030,
    #​2171)
  • Added AutoMod-related models for AuditLogDiff enums.
    (#​2030)
  • Added Interaction.respond and Interaction.edit as shortcut responses.
    (#​2026)
  • Added view.parent which is set when the view is sent by
    interaction.response.send_message.
    (#​2036)
  • Added methods bridge.Bot.walk_bridge_commands and
    BridgeCommandGroup.walk_commands.
    (#​1867)
  • Added support for usernames and modified multiple methods accordingly.
    (#​2042)
  • Added icon and unicode_emoji arguments to Guild.create_role.
    (#​2086)
  • Added cooldown and max_concurrency attributes to SlashCommandGroup.
    (#​2091)
  • Added embedded activities Gartic Phone and Jamspace.
    (#​2102)
  • Added bridge.Context type as a Union of subclasses.
    (#​2106)
  • Added support for type-hinting slash command options with typing.Annotated.
    (#​2124)
  • Added suppress and allowed_mentions parameters to Webhook and
    InteractionResponse edit methods.
    (#​2138)
  • Added wait_finish parameter to VoiceClient.play for awaiting the end of a play.
    (#​2194)
  • Added support for custom bot status.
    (#​2206)
  • Added function Guild.delete_auto_moderation_rule.
    (#​2153)
  • Added VoiceChannel.slowmode_delay.
    (#​2112)
  • Added ForumChannel.default_reaction_emoji attribute.
    (#​2178)
  • Added default_reaction_emoji parameter to Guild.create_forum_channel and
    ForumChannel.edit methods.
    (#​2178)
  • Added applied_tags parameter to Webhook.send method.
    (#​2322)
  • Added User.avatar_decoration.
    (#​2131)
  • Added support for guild onboarding related features.
    (#​2127)
  • Added support for monetization related objects and events.
    (#​2273)
  • Added AttachmentFlags and attachment attributes expires_at, issued_at and hm.
    (#​2342)
  • Added invitable and slowmode_delay to Thread creation methods.
    (#​2350)
  • Added support for voice channel statuses.
    (#​2368)
  • Added enforce_nonce parameter for message sending.
    (#​2370)
  • Added audit log support for voice channel status.
    (#​2373)
Changed
  • Changed default for all name_localizations and description_localizations
    attributes from being None to being MISSING.
    (#​1866)
  • Changed ffmpeg output suppression when recording voice channels.
    (#​1993)
  • Changed file-upload size limit from 8 MB to 25 MB accordingly.
    (#​2014)
  • Changed the behavior of retrieving bans to accurately reflect the API.
    (#​1922)
  • Changed Interaction.channel to be received from the gateway, allowing it to be
    DMChannel or GroupChannel.
    (#​2025)
  • Changed DMChannel.recipients to potentially be None.
    (#​2025)
  • Changed the behavior to store view.message when receiving a component interaction,
    while also changing view.message not to be set when sending view through
    InteractionResponse.send_message.
    (#​2036)
  • Changed the fetching of attributes shared between text-based and Slash Commands in
    Bridge Commands to be dynamic.
    (#​1867)
  • discord.Embed attributes (such as author, footer, etc.) now return instances of
    their respective classes when set and None otherwise.
    (#​2063)
  • Changed default_avatar behavior to depend on the user's username migration status.
    (#​2087)
  • Changed type hints of command_prefix and help_command arguments to be accurate.
    (#​2099)
  • Replaced orjson features with msgspec in the codebase.
    (#​2170)
  • BridgeOption must now be used for arguments in bridge commands.
    (#​2252)
Removed
  • Removed Client.once in favour of once argument in Client.listen.
    (#​1957)
  • Removed Embed.Empty in favour of None, and EmbedProxy in favour of individual
    classes. (#​2063)
Fixed
  • Fixed AttributeError caused by
    #​1957 when using listeners
    in cogs. (#​1989)
  • Fixed an issue in editing webhook messages in forum posts and private threads.
    (#​1981).
  • Fixed View.message not being set when view is sent using webhooks, including
    Interaction.followup.send or when a message is edited.
    (#​1997)
  • Fixed None being handled incorrectly for avatar in ClientUser.edit.
    (#​1994)
  • Fixed scheduled events breaking when changing the location from external to a channel.
    (#​1998)
  • Fixed boolean converter breaking for Bridge Commands.
    (#​1999)
  • Fixed bridge command options not working.
    (#​1999)
  • Fixed TypeError being raised when passing name argument to bridge groups.
    (#​2000)
  • Fixed TypeError in AutoModRule.
    (#​2029)
  • Fixed the functionality to override the default on_application_command_error
    behavior using listeners.
    (#​2044)
  • Fixed unloading of cogs with bridge commands.
    (#​2048)
  • Fixed the individual slash command synchronization method.
    (#​1925)
  • Fixed an issue that occurred when webhooks_update event payload channel ID was
    None. (#​2078)
  • Fixed major TypeError when an AuditLogEntry has no user.
    (#​2079)
  • Fixed HTTPException when trying to create a forum thread with files.
    (#​2075)
  • Fixed before_invoke not being run for SlashCommandGroup.
    (#​2091)
  • Fixed AttributeError when accessing a Select object's values when it hasn't been
    interacted with. (#​2104)
  • Fixed before_invoke being run twice for slash subcommands.
    (#​2139)
  • Fixed Guild._member_count sometimes not being set.
    (#​2145)
  • Fixed Thread.applied_tags not being updated.
    (#​2146)
  • Fixed type hinting of author property of ApplicationContext to include
    type-hinting of User or Member.
    (#​2148)
  • Fixed missing delete_after parameter in overload type-hinting for Webhook.send().
    (#​2156)
  • Fixed ScheduledEvent.creator_id returning str instead of int.
    (#​2162)
  • Fixed _bytes_to_base64_data not defined.
    (#​2185)
  • Fixed inaccurate Union type hint of values argument of basic_autocomplete to
    include Iterable[OptionChoice].
    (#​2164)
  • Fixed initial message inside of the create thread payload sending legacy beta payload.
    (#​2191)
  • Fixed a misplaced payload object inside of the thread creation payload.
    (#​2192)
  • Fixed DMChannel.recipient and User.dm_channel being None.
    (#​2219)
  • Fixed ffmpeg being terminated prematurely when piping audio stream.
    (#​2240)
  • Fixed tasks looping infinitely when tzinfo is neither None nor UTC.
    (#​2196)
  • Fixed AttributeError when running permission checks without the bot scope.
    (#​2113)
  • Fixed Option not working on bridge commands because ext.commands.Command doesn't
    recognize them. (#​2256)
  • Fixed offset-aware tasks causing TypeError when being prepared.
    (#​2271)
  • Fixed AttributeError when serializing commands with Annotated type hints.
    (#​2243)
  • Fixed Intents.all() returning the wrong value.
    (#​2257)
  • Fixed AuditLogIterator not respecting the after parameter.
    (#​2295)
  • Fixed AttributeError when failing to establish initial websocket connection.
    (#​2301)
  • Fixed AttributeError caused by command.cog being MISSING.
    (#​2303)
  • Fixed self.use_default_buttons being assumed truthy by Paginator.update.
    (#​2319)
  • Fixed AttributeError when comparing application commands with non-command objects.
    (#​2299)
  • Fixed AttributeError when copying groups on startup.
    (#​2331)
  • Fixed application command options causing errors if declared through the option
    decorator or kwarg.
    (#​2332)
  • Fixed options declared using the parameter default value syntax always being optional.
    (#​2333)
  • Fixed BridgeContext type hints raising an exception for unsupported option type.
    (#​2337)
  • Fixed TypeError due to (Sync)WebhookMessage._thread_id being set to None.
    (#​2343)
  • Fixed AttributeError due to entitlements not being included in
    Interaction.__slots__.
    (#​2345)
  • Fixed Thread.me being out of date and added the thread owner to Thread.members on
    creation. (#​1296)
  • Fixed keyword argument wildcard of bridge.has_permissions having the wrong type
    hint. (#​2364)
  • Fixed enum to support stringified annotations.
    (#​2367)

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 Mend Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants