Thanks to the following for their contributions:
- @FabseGP
- @GnomedDev
- @HiccupEnthusiast
- @MarkusTheOrt
- @NiiightmareXD
- @ValgulNecron
- @gBasil
- @ivinjabraham
- @jamesbt365
- @limonfort
- @m1sk9
- @mkrasnitski
- @onzecki
- @rhgndf
- @stormofice
- @thmasq
- @thou-vow
Deprecations
- #2894
Message(Id)::link_ensured
can be replaced byMessage(Id)::link
if recieved via event, orMessageId::link
if the message was recieved via a HTTP request. - #2905
CreateInteractionResponse::PremiumRequired
has been deprecated and replaced with Premium Buttons. - #3030
GuildChannel::permissions_for_user
has been deprecated, use the newMessage::author_permissions
helper orGuild::user_permissions_in
.
Additions
- #2891 Guild Incident message types have been added to MessageType.
- #2913
CreateButton
now implementsFrom<Button>
. - #2914
User::display_name
has been added, as users may have two different names now. - #2920 Support for Application Emojis has been added, getting rid of those "emoji servers" many bots required.
- #2905 Support for Premium Buttons has been added, which link to the store page of a chosen SKU.
- #2926 A method to get the role icon URL has been added.
- #2939 Some missing fields have been added to to
CurrentApplicationInfo
. - #2946 Support for the Get Guild Role endpoint has been added.
- #2960 Support for the Get Sticker Pack by Id endpoint has been added.
- #2962 Some missing entries in
GuildMemberFlags
have been added. - #2950 The missing
USE_EXTERNAL_APPS
permission has been added. - #2987 A builder for the Get Entitlements endpoint has been added.
- #2996
MessageReferenceKind
has been added to start supporting forwarding. - #3001
{PartialGuild, Guild}::partial_member_permissions
has been added for more efficent permissions checking - #3013 Interaction responses can now send polls.
- #3018 User App support has been stablised, usable without
unstable_discord_api
. - #3021 Support for Entry Point Commands has been added.
- #3030 A
Message::author_permissions
helper has been added, alongsidePermissions::dm_permissions
.
Deserialisation Fixes
- #2887, #2893
Messages with reactions no longer fail to deserialize due to super reaction changes. - #2917 Application no longer fails to deserialize with
unstable_discord_api
- #3032 Guilds with an @everyone role at position
-1
no longer fail to deserialise.
General fixes
- #2886 A typo has been fixed in
GuildId::members_iter
documentation. - #2906
CreateAttachment
documentation has been updated to be more consistent with other builders. - #2911
CreateEmbedAuthor
documentation can now spellembed
correctly. - Pushed to Current
AuthorizingIntegrationOwners
is now usable, as the field was previously private. - #2945 (
Partial
)Guild::member_permissions
is now usable without cache. - #2973
ChannelId::delete_messages
documentation has been expanded to document the single item case. - #2959 The rules for attachment names for local attachments in embeds have now been documented.
- #3005 The fields of
BulkBanResponse
have been made public. - #3006 The
bulk_ban
endpoint is now usable, previously unusable due toSend
issues.