New
v0.12.3
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_ensuredcan be replaced byMessage(Id)::linkif recieved via event, orMessageId::linkif the message was recieved via a HTTP request. - #2905
CreateInteractionResponse::PremiumRequiredhas been deprecated and replaced with Premium Buttons. - #3030
GuildChannel::permissions_for_userhas been deprecated, use the newMessage::author_permissionshelper orGuild::user_permissions_in.
Additions
- #2891 Guild Incident message types have been added to MessageType.
- #2913
CreateButtonnow implementsFrom<Button>. - #2914
User::display_namehas 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.
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
-1no longer fail to deserialise.
General fixes
- #2886 A typo has been fixed in
GuildId::members_iterdocumentation. - #2906
CreateAttachmentdocumentation has been updated to be more consistent with other builders. - #2911
CreateEmbedAuthordocumentation can now spellembedcorrectly. - Pushed to Current
AuthorizingIntegrationOwnersis now usable, as the field was previously private. - #2945 (
Partial)Guild::member_permissionsis now usable without cache. - #2973
ChannelId::delete_messagesdocumentation has been expanded to document the single item case. - #2959 The rules for attachment names for local attachments in embeds have now been documented.