You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
2.2.1 (2025-04-06)
Features
Add polls support:
New rest endpoints: RESTClient.fetch_poll_voters, RESTClient.end_poll
New objects: Poll, PollLayoutType, PollResult, PollAnswer, PollMedia
New builders: PollBuilder, PollAnswerBuilder
New events: BasePollVoteEvent, PollVoteCreateEvent, PollVoteDeleteEvent (#2219)
Added more specialized interaction events CommandInteractionCreateEvent, ComponentInteractionCreateEvent, AutocompleteInteractionCreateEvent and ModalInteractionCreateEvent to improve developer experience (#2241)
Added support for guild specific member banners. (#2271)
HTTP interaction handlers can return None to indicate a response was/will be sent using REST instead. (#2280)
Added support for guild incidents.
New object GuildIncidents as an attribute on Guild.
New property invites_disabled added to Guild to ease the confusion on the independent invites_disabled_until incident action and INVITES_DISABLED guild feature.
New guild function set_incident_actions and rest function set_guild_incident_actions. (#2289)
Added support for global and guild specific avatar decorations.
New AvatarDecoration class.
New optional avatar_decoration, display_avatar_decoration, and guild_avatar_decoration attributes on User and Member as applicable. (#2295)
Add in the missing hikari.api.InteractionMessageBuilder.clear_components, hikari.api.InteractionMessageBuilder.clear_embeds and abstract methods + enforce using @typing_extensions.override within the library. (#2244)