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.5.0
->==2.6.1
Release Notes
Pycord-Development/pycord (py-cord)
v2.6.1
Compare Source
Fixed
(#2510)
EntitlementIterator
type hints and behavior withlimit > 100
.(#2555)
stacklevel
parameter inwarn_deprecated
function call inside@utils.deprecated
. (#2500)ConnectionState._polls
to reflect actual behavior, changingit from
Guild
toPoll
.(#2500)
__slots__
attributes inRawReactionClearEmojiEvent
andRawMessagePollVoteEvent
.(#2500)
ForumChannel.default_sort_order
, changing it fromint
toSortOrder
. (#2500)PartialMessage
causing errors when created fromPartialMessageable
.(#2568)
guild
attribute ofMember
s received from aUserCommand
beingNone
.(#2573)
Webhook.send
, which did not include attachment data.(#2513)
CheckAnyFailure
.(#2502)
v2.6.0
Compare Source
Added
banner
parameter toClientUser.edit
.(#2396)
user
argument toPaginator.edit
.(#2390)
bridge_option
decorator. Required forbridge.Bot
in 2.7.(#2417)
Guild.search_members
.(#2418)
Guild.bulk_ban
.(#2421)
member
data to theraw_reaction_remove
event.(#2412)
Poll
and all related features.(#2408)
stacklevel
param toutils.warn_deprecated
andutils.deprecated
.(#2450)
(#2409)
(#2438)
Attachment.title
.(#2486)
MemberFlags
. (#2489)bypass_verification
parameter toMember.edit
.(#2489)
RoleFlags
. (#2487)MessageCall
information.(#2488)
Fixed
Member.move_to
andMember.edit
to reflect actualbehavior. (#2386)
python -m discord -v
by replacing the deprecated module.
(#2392)
Paginator.edit
to no longer set user to the bot.(#2390)
NameError
in some instances ofInteraction
.(#2402)
PartialMessage.id
being of typestr
.(#2406)
ScheduledEvent.subscribers
to reflect actual behavior.(#2400)
ScheduledEvent.subscribers
behavior withlimit=None
.(#2407)
Interaction._guild
in certain cases.(#2411)
parameter_name
.(#2417)
embed=None
causingAttributeError
onPartialMessage.edit
.(#2446)
(#2448)
application_id
inEntitlement.delete
.(#2458)
Option
types with long descriptions or too many values.(#2463)
(#2457)
AttributeError
due todiscord.Option
being initialised withinput_type
setto
None
. (#2464)remove_application_command
causing issues while reloading extensions.(#2480)
(#2371)
(#2492)
Changed
Guild.bitrate_limit
toint
.(#2387)
(#2395)
option
decorator now acceptsinput_type
.(#2417)
Option
may be used instead ofBridgeOption
until 2.7.(#2417)
Guild.query_members
now acceptslimit=None
to retrieve all members.(#2419)
ApplicationCommand.guild_only
is now deprecated in favor ofApplicationCommand.contexts
.(#2409)
Message.interaction
is now deprecated in favor ofMessage.interaction_metadata
.(#2409)
Client.fetch_entitlements
withClient.entitlements
, which returns anEntitlementIterator
.(#2490)
subcommand group. (#2275)
Removed
delete_message_days
parameter from ban methods. Please usedelete_message_seconds
instead.(#2421)
oldest_first
parameter fromGuild.audit_logs
in favor of thebefore
and
after
parameters.(#2371)
vanity_code
parameter fromGuild.edit
.(#2491)
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.