github hikari-py/hikari 2.2.0

latest releases: 2.5.0, 2.4.1, 2.4.0...
9 months ago

2.2.0 (2025-03-21)

Breaking Changes

  • Remove PartialInteraction.get_channel and PartialInteraction.fetch_channel. You can directly use PartialInteraction.channel instead (#1621)

  • User commands breaking changes:

    • Remove previously deprecated command_interactions.InteractionChannel and command_interactions.ResolvedOptionData
    • CommandInteraction.app_permissions is no longer optional
    • Removal of Commands.dm_permissions and Message.interaction. Use Commands.contexts and Message.interaction_metadata respectively (#2195)
  • Remove with_expiration parameter from REST client's fetch_invite method.

    • The parameter has been a noop for a while as Discord removed it (#2224)

Features

  • Several new PartialInteraction features:

    • Add new PartialInteraction.channel attribute
    • Moved common interaction fields to PartialInteraction
    • app_permissions is now available for all interaction types
    • Add missing fields to InteractionChannel (#1621)
  • Add missing fields to AuditLogEventType (#1991)

  • Add user installations support (#2177)

Don't miss a new hikari release

NewReleases is sending notifications on new releases.