Update dependency py-cord to v2.5.0 #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/py-cord-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.4.1->==2.5.0Release Notes
Pycord-Development/pycord (py-cord)
v2.5.0Compare Source
Added
(#1801)
author,footer,imageandthumbnailtodiscord.Embedinitializer. (#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_pageargument toPaginator.update().(#1983)
application_auto_moderation_rule_create_badge.(#1992)
sync_startargument inVoiceClient.start_recording().(#1984)
custom_messageto AutoModActionMetadata.(#2029)
voice messages.
(#2016)
dataattribute to allRaw Event payloads.
(#2023)
AuditLogActionenums.(#2030,
#2171)
AuditLogDiffenums.(#2030)
Interaction.respondandInteraction.editas shortcut responses.(#2026)
view.parentwhich is set when the view is sent byinteraction.response.send_message.(#2036)
bridge.Bot.walk_bridge_commandsandBridgeCommandGroup.walk_commands.(#1867)
(#2042)
iconandunicode_emojiarguments toGuild.create_role.(#2086)
cooldownandmax_concurrencyattributes toSlashCommandGroup.(#2091)
(#2102)
bridge.Contexttype as aUnionof subclasses.(#2106)
typing.Annotated.(#2124)
suppressandallowed_mentionsparameters toWebhookandInteractionResponseedit methods.(#2138)
wait_finishparameter toVoiceClient.playfor awaiting the end of a play.(#2194)
(#2206)
Guild.delete_auto_moderation_rule.(#2153)
VoiceChannel.slowmode_delay.(#2112)
ForumChannel.default_reaction_emojiattribute.(#2178)
default_reaction_emojiparameter toGuild.create_forum_channelandForumChannel.editmethods.(#2178)
applied_tagsparameter toWebhook.sendmethod.(#2322)
User.avatar_decoration.(#2131)
(#2127)
(#2273)
AttachmentFlagsand attachment attributesexpires_at,issued_atandhm.(#2342)
invitableandslowmode_delaytoThreadcreation methods.(#2350)
(#2368)
enforce_nonceparameter for message sending.(#2370)
(#2373)
Changed
name_localizationsanddescription_localizationsattributes from being
Noneto beingMISSING.(#1866)
ffmpegoutput suppression when recording voice channels.(#1993)
(#2014)
(#1922)
Interaction.channelto be received from the gateway, allowing it to beDMChannelorGroupChannel.(#2025)
DMChannel.recipientsto potentially beNone.(#2025)
view.messagewhen receiving a component interaction,while also changing
view.messagenot to be set when sending view throughInteractionResponse.send_message.(#2036)
Bridge Commands to be dynamic.
(#1867)
discord.Embedattributes (such as author, footer, etc.) now return instances oftheir respective classes when set and
Noneotherwise.(#2063)
default_avatarbehavior to depend on the user's username migration status.(#2087)
command_prefixandhelp_commandarguments to be accurate.(#2099)
orjsonfeatures withmsgspecin the codebase.(#2170)
BridgeOptionmust now be used for arguments in bridge commands.(#2252)
Removed
Client.oncein favour ofonceargument inClient.listen.(#1957)
Embed.Emptyin favour ofNone, andEmbedProxyin favour of individualclasses. (#2063)
Fixed
AttributeErrorcaused by#1957 when using listeners
in cogs. (#1989)
(#1981).
View.messagenot being set when view is sent using webhooks, includingInteraction.followup.sendor when a message is edited.(#1997)
Nonebeing handled incorrectly for avatar inClientUser.edit.(#1994)
(#1998)
(#1999)
(#1999)
TypeErrorbeing raised when passingnameargument to bridge groups.(#2000)
TypeErrorinAutoModRule.(#2029)
on_application_command_errorbehavior using listeners.
(#2044)
(#2048)
individualslash command synchronization method.(#1925)
webhooks_updateevent payload channel ID wasNone. (#2078)TypeErrorwhen anAuditLogEntryhas no user.(#2079)
HTTPExceptionwhen trying to create a forum thread with files.(#2075)
before_invokenot being run forSlashCommandGroup.(#2091)
AttributeErrorwhen accessing aSelectobject's values when it hasn't beeninteracted with. (#2104)
before_invokebeing run twice for slash subcommands.(#2139)
Guild._member_countsometimes not being set.(#2145)
Thread.applied_tagsnot being updated.(#2146)
authorproperty ofApplicationContextto includetype-hinting of
UserorMember.(#2148)
delete_afterparameter in overload type-hinting forWebhook.send().(#2156)
ScheduledEvent.creator_idreturningstrinstead ofint.(#2162)
_bytes_to_base64_datanot defined.(#2185)
Uniontype hint ofvaluesargument ofbasic_autocompletetoinclude
Iterable[OptionChoice].(#2164)
(#2191)
(#2192)
DMChannel.recipientandUser.dm_channelbeingNone.(#2219)
ffmpegbeing terminated prematurely when piping audio stream.(#2240)
tzinfois neitherNonenor UTC.(#2196)
AttributeErrorwhen running permission checks without thebotscope.(#2113)
Optionnot working on bridge commands becauseext.commands.Commanddoesn'trecognize them. (#2256)
TypeErrorwhen being prepared.(#2271)
AttributeErrorwhen serializing commands withAnnotatedtype hints.(#2243)
Intents.all()returning the wrong value.(#2257)
AuditLogIteratornot respecting theafterparameter.(#2295)
AttributeErrorwhen failing to establish initial websocket connection.(#2301)
AttributeErrorcaused bycommand.cogbeingMISSING.(#2303)
self.use_default_buttonsbeing assumed truthy byPaginator.update.(#2319)
AttributeErrorwhen comparing application commands with non-command objects.(#2299)
AttributeErrorwhen copying groups on startup.(#2331)
decorator or kwarg.
(#2332)
(#2333)
BridgeContexttype hints raising an exception for unsupported option type.(#2337)
TypeErrordue to(Sync)WebhookMessage._thread_idbeing set toNone.(#2343)
AttributeErrordue toentitlementsnot being included inInteraction.__slots__.(#2345)
Thread.mebeing out of date and added the thread owner toThread.membersoncreation. (#1296)
bridge.has_permissionshaving 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 Renovate Bot.