2.2.0 (2025-03-21)
Breaking Changes
-
Remove
PartialInteraction.get_channelandPartialInteraction.fetch_channel. You can directly usePartialInteraction.channelinstead (#1621) -
User commands breaking changes:
- Remove previously deprecated
command_interactions.InteractionChannelandcommand_interactions.ResolvedOptionData CommandInteraction.app_permissionsis no longer optional- Removal of
Commands.dm_permissionsandMessage.interaction. UseCommands.contextsandMessage.interaction_metadatarespectively (#2195)
- Remove previously deprecated
-
Remove
with_expirationparameter from REST client'sfetch_invitemethod.- The parameter has been a noop for a while as Discord removed it (#2224)
Features
-
Several new
PartialInteractionfeatures:- Add new
PartialInteraction.channelattribute - Moved common interaction fields to
PartialInteraction app_permissionsis now available for all interaction types- Add missing fields to
InteractionChannel(#1621)
- Add new
-
Add missing fields to
AuditLogEventType(#1991) -
Add user installations support (#2177)