This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.4.1
->==2.5.0
Release Notes
Pycord-Development/pycord (py-cord)
v2.5.0
Compare Source
Added
(#1801)
author
,footer
,image
andthumbnail
todiscord.Embed
initializer. (#1996)
on_bridge_command
,on_bridge_command_completion
, andon_bridge_command_error
.(#1916)
@client.once()
decorator, which serves as a one-time event listener.(#1940)
StageChannel
.(#1936)
Client.listen
.(#1957)
current_page
argument toPaginator.update()
.(#1983)
application_auto_moderation_rule_create_badge
.(#1992)
sync_start
argument inVoiceClient.start_recording()
.(#1984)
custom_message
to AutoModActionMetadata.(#2029)
voice messages.
(#2016)
data
attribute to allRaw Event payloads.
(#2023)
AuditLogAction
enums.(#2030,
#2171)
AuditLogDiff
enums.(#2030)
Interaction.respond
andInteraction.edit
as shortcut responses.(#2026)
view.parent
which is set when the view is sent byinteraction.response.send_message
.(#2036)
bridge.Bot.walk_bridge_commands
andBridgeCommandGroup.walk_commands
.(#1867)
(#2042)
icon
andunicode_emoji
arguments toGuild.create_role
.(#2086)
cooldown
andmax_concurrency
attributes toSlashCommandGroup
.(#2091)
(#2102)
bridge.Context
type as aUnion
of subclasses.(#2106)
typing.Annotated
.(#2124)
suppress
andallowed_mentions
parameters toWebhook
andInteractionResponse
edit methods.(#2138)
wait_finish
parameter toVoiceClient.play
for awaiting the end of a play.(#2194)
(#2206)
Guild.delete_auto_moderation_rule
.(#2153)
VoiceChannel.slowmode_delay
.(#2112)
ForumChannel.default_reaction_emoji
attribute.(#2178)
default_reaction_emoji
parameter toGuild.create_forum_channel
andForumChannel.edit
methods.(#2178)
applied_tags
parameter toWebhook.send
method.(#2322)
User.avatar_decoration
.(#2131)
(#2127)
(#2273)
AttachmentFlags
and attachment attributesexpires_at
,issued_at
andhm
.(#2342)
invitable
andslowmode_delay
toThread
creation methods.(#2350)
(#2368)
enforce_nonce
parameter for message sending.(#2370)
(#2373)
Changed
name_localizations
anddescription_localizations
attributes from being
None
to beingMISSING
.(#1866)
ffmpeg
output suppression when recording voice channels.(#1993)
(#2014)
(#1922)
Interaction.channel
to be received from the gateway, allowing it to beDMChannel
orGroupChannel
.(#2025)
DMChannel.recipients
to potentially beNone
.(#2025)
view.message
when receiving a component interaction,while also changing
view.message
not to be set when sending view throughInteractionResponse.send_message
.(#2036)
Bridge Commands to be dynamic.
(#1867)
discord.Embed
attributes (such as author, footer, etc.) now return instances oftheir respective classes when set and
None
otherwise.(#2063)
default_avatar
behavior to depend on the user's username migration status.(#2087)
command_prefix
andhelp_command
arguments to be accurate.(#2099)
orjson
features withmsgspec
in the codebase.(#2170)
BridgeOption
must now be used for arguments in bridge commands.(#2252)
Removed
Client.once
in favour ofonce
argument inClient.listen
.(#1957)
Embed.Empty
in favour ofNone
, andEmbedProxy
in favour of individualclasses. (#2063)
Fixed
AttributeError
caused by#1957 when using listeners
in cogs. (#1989)
(#1981).
View.message
not being set when view is sent using webhooks, includingInteraction.followup.send
or when a message is edited.(#1997)
None
being handled incorrectly for avatar inClientUser.edit
.(#1994)
(#1998)
(#1999)
(#1999)
TypeError
being raised when passingname
argument to bridge groups.(#2000)
TypeError
inAutoModRule
.(#2029)
on_application_command_error
behavior using listeners.
(#2044)
(#2048)
individual
slash command synchronization method.(#1925)
webhooks_update
event payload channel ID wasNone
. (#2078)TypeError
when anAuditLogEntry
has no user.(#2079)
HTTPException
when trying to create a forum thread with files.(#2075)
before_invoke
not being run forSlashCommandGroup
.(#2091)
AttributeError
when accessing aSelect
object's values when it hasn't beeninteracted with. (#2104)
before_invoke
being run twice for slash subcommands.(#2139)
Guild._member_count
sometimes not being set.(#2145)
Thread.applied_tags
not being updated.(#2146)
author
property ofApplicationContext
to includetype-hinting of
User
orMember
.(#2148)
delete_after
parameter in overload type-hinting forWebhook.send()
.(#2156)
ScheduledEvent.creator_id
returningstr
instead ofint
.(#2162)
_bytes_to_base64_data
not defined.(#2185)
Union
type hint ofvalues
argument ofbasic_autocomplete
toinclude
Iterable[OptionChoice]
.(#2164)
(#2191)
(#2192)
DMChannel.recipient
andUser.dm_channel
beingNone
.(#2219)
ffmpeg
being terminated prematurely when piping audio stream.(#2240)
tzinfo
is neitherNone
nor UTC.(#2196)
AttributeError
when running permission checks without thebot
scope.(#2113)
Option
not working on bridge commands becauseext.commands.Command
doesn'trecognize them. (#2256)
TypeError
when being prepared.(#2271)
AttributeError
when serializing commands withAnnotated
type hints.(#2243)
Intents.all()
returning the wrong value.(#2257)
AuditLogIterator
not respecting theafter
parameter.(#2295)
AttributeError
when failing to establish initial websocket connection.(#2301)
AttributeError
caused bycommand.cog
beingMISSING
.(#2303)
self.use_default_buttons
being assumed truthy byPaginator.update
.(#2319)
AttributeError
when comparing application commands with non-command objects.(#2299)
AttributeError
when copying groups on startup.(#2331)
decorator or kwarg.
(#2332)
(#2333)
BridgeContext
type hints raising an exception for unsupported option type.(#2337)
TypeError
due to(Sync)WebhookMessage._thread_id
being set toNone
.(#2343)
AttributeError
due toentitlements
not being included inInteraction.__slots__
.(#2345)
Thread.me
being out of date and added the thread owner toThread.members
oncreation. (#1296)
bridge.has_permissions
having the wrong typehint. (#2364)
(#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.
This PR has been generated by Mend Renovate. View repository job log here.