discord-py breaking changes
Updated December 4, 2026
On this page
Latest version 2.7.1, released March 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
discord-py 2.7.1 breaking changes
- Removed
discord.state.ViewStore.remove_interaction_mapping
ViewStore.remove_interaction_mapping was removed in discord.py 2.7.1 pypi.org - Signature changed
discord.state.AutoShardedConnectionState.store_view
Was def store_view(self, view: BaseView, message_id: Optional[int] = None, interaction_id: Optional[int] = None) -> None; now def store_view(self, view: BaseView, message_id: Optional[int] = None) -> None. pypi.org - Signature changed
discord.state.ConnectionState.store_view
Was def store_view(self, view: BaseView, message_id: Optional[int] = None, interaction_id: Optional[int] = None) -> None; now def store_view(self, view: BaseView, message_id: Optional[int] = None) -> None. pypi.org
discord-py 2.7.0 breaking changes
- Removed
discord.http.HTTPClient.change_my_nickname
HTTPClient.change_my_nickname was removed in discord.py 2.7.0 pypi.org - Removed
discord.primary_guild.Asset
discord.primary_guild.Asset was removed in discord.py 2.7.0 pypi.org - Removed
discord.primary_guild.ConnectionState
discord.primary_guild.ConnectionState was removed in discord.py 2.7.0 pypi.org - Removed
discord.primary_guild.PrimaryGuildPayload
discord.primary_guild.PrimaryGuildPayload was removed in discord.py 2.7.0 pypi.org - Removed
discord.primary_guild.snowflake_time
discord.primary_guild.snowflake_time was removed in discord.py 2.7.0 pypi.org - Removed
discord.types.gateway.AvatarDecorationData.asset
AvatarDecorationData.asset was removed in discord.py 2.7.0 pypi.org - Removed
discord.types.gateway.AvatarDecorationData.sku_id
AvatarDecorationData.sku_id was removed in discord.py 2.7.0 pypi.org - Removed
discord.types.interactions.ModalSubmitComponentItemInteractionData
discord.types.interactions.ModalSubmitComponentItemInteractionData was removed in discord.py 2.7.0 pypi.org - Signature changed
discord.app_commands.Group.interaction_check
Was async def interaction_check(self, interaction: Interaction, /) -> bool; now async def interaction_check(self, interaction: Interaction[ClientT], /) -> bool. pypi.org - Signature changed
discord.app_commands.Group.on_error
Was async def on_error(self, interaction: Interaction, error: AppCommandError, /) -> None; now async def on_error(self, interaction: Interaction[ClientT], error: AppCommandError, /) -> None. pypi.org
And 31 more in this version. Sign up to see every change
discord-py 2.6.4 breaking changes
- Removed
discord.types.interactions.ModalSubmitStringSelectInteractionData
discord.types.interactions.ModalSubmitStringSelectInteractionData was removed in discord.py 2.6.4 pypi.org - Signature changed
discord.ext.commands.CogMeta.__new__
Was def __new__(cls, *args: Any, **kwargs: Unpack[_CogKwargs]) -> CogMeta; now def __new__(cls, *args: Any, **kwargs: Any) -> CogMeta. pypi.org - Signature changed
discord.ext.commands.Command.aliases
Was aliases: Union[List[str], Tuple[str]]; now aliases: Union[List[str], Tuple[str, ...]]. pypi.org - Signature changed
discord.ext.commands.DefaultHelpCommand.dm_help
Was dm_help: bool; now dm_help: Optional[bool]. pypi.org - Signature changed
discord.ext.commands.Group.aliases
Was aliases: Union[List[str], Tuple[str]]; now aliases: Union[List[str], Tuple[str, ...]]. pypi.org - Signature changed
discord.ext.commands.HelpCommand.verify_checks
Was verify_checks: bool; now verify_checks: Optional[bool]. pypi.org - Signature changed
discord.ext.commands.HybridCommand.aliases
Was aliases: Union[List[str], Tuple[str]]; now aliases: Union[List[str], Tuple[str, ...]]. pypi.org - Signature changed
discord.ext.commands.HybridGroup.aliases
Was aliases: Union[List[str], Tuple[str]]; now aliases: Union[List[str], Tuple[str, ...]]. pypi.org - Signature changed
discord.ext.commands.MinimalHelpCommand.dm_help
Was dm_help: bool; now dm_help: Optional[bool]. pypi.org - Signature changed
discord.state.ViewStore.dispatch_modal
Was def dispatch_modal(self, custom_id: str, interaction: Interaction, components: List[ModalSubmitComponentInteractionDataPayload]) -> None; now def dispatch_modal(self, custom_id: str, interaction: Interaction, components... pypi.org
And 6 more in this version. Sign up to see every change
discord-py 2.6.2 breaking changes
- Signature changed
discord.state.DynamicItem
Was class DynamicItem(Generic[BaseT, V], Item[V]); now class DynamicItem(Generic[BaseT], Item[Union[View, LayoutView]]). pypi.org - Signature changed
discord.ui.DynamicItem
Was class DynamicItem(Generic[BaseT, V], Item[V]); now class DynamicItem(Generic[BaseT], Item[Union[View, LayoutView]]). pypi.org
discord-py 2.6.1 breaking changes
- Signature changed
discord.state.DynamicItem
Was class DynamicItem(Generic[BaseT], Item[Union[View, LayoutView]]); now class DynamicItem(Generic[BaseT, V], Item[V]). pypi.org - Signature changed
discord.ui.DynamicItem
Was class DynamicItem(Generic[BaseT], Item[Union[View, LayoutView]]); now class DynamicItem(Generic[BaseT, V], Item[V]). pypi.org - Signature changed
discord.ui.Modal
Was class Modal(View); now class Modal(BaseView). pypi.org - Signature changed
discord.ui.Modal.from_message
Was @classmethod def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View; now @classmethod def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> Union[View, LayoutView]. pypi.org
discord-py 2.6.0 breaking changes
- Removed
discord.http.View.__init_subclass__
View.__init_subclass__ was removed in discord.py 2.6.0 pypi.org - Removed
discord.types.invite.IncompleteInvite.expires_at
IncompleteInvite.expires_at was removed in discord.py 2.6.0 pypi.org - Removed
discord.types.invite.VanityInvite.expires_at
VanityInvite.expires_at was removed in discord.py 2.6.0 pypi.org - Removed
discord.types.message.Component
discord.types.message.Component was removed in discord.py 2.6.0 pypi.org - Renamed
discord.http.View
Use discord.http.BaseView instead. pypi.org - Renamed
discord.state.AutoShardedConnectionState.get_reaction_emoji
Use AutoShardedConnectionState.get_emoji_from_partial_payload instead. pypi.org - Renamed
discord.state.ConnectionState.get_reaction_emoji
Use ConnectionState.get_emoji_from_partial_payload instead. pypi.org - Renamed
discord.state.View
Use discord.state.BaseView instead. pypi.org - Signature changed
discord.abc.GuildChannel.create_invite
Was async def create_invite(self, *, reason: Optional[str] = None, max_age: int = 0, max_uses: int = 0, temporary: bool = False, unique: bool = True, target_type: Optional[InviteTarget] = None, target_user: Optional[User] = None... pypi.org - Signature changed
discord.abc.GuildChannel.set_permissions
Was async def set_permissions(self, target: Union[Member, Role], *, overwrite: Any = _undefined, reason: Optional[str] = None, **permissions: Optional[bool]) -> None; now async def set_permissions(self, target: Union[Member, Role], *... pypi.org
And 125 more in this version. Sign up to see every change
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
discord-py 2.5.1 breaking changes
- Removed
discord.types.embed.EmbedImage
discord.types.embed.EmbedImage was removed in discord.py 2.5.1 pypi.org - Removed
discord.types.embed.EmbedThumbnail
discord.types.embed.EmbedThumbnail was removed in discord.py 2.5.1 pypi.org
And 7 more in this version.
discord-py 2.5.0 breaking changes
- Removed
discord.http.HTTPClient.get_gateway
HTTPClient.get_gateway was removed in discord.py 2.5.0 pypi.org - Removed
discord.types.gateway.MessageUpdateEvent.activity
MessageUpdateEvent.activity was removed in discord.py 2.5.0 pypi.org
And 82 more in this version.
discord-py 2.4.0 breaking changes
- Removed
discord.gateway.DiscordVoiceWebSocket.from_client
DiscordVoiceWebSocket.from_client was removed in discord.py 2.4.0 pypi.org - Removed
discord.gateway.KeepAliveHandler.daemon
KeepAliveHandler.daemon was removed in discord.py 2.4.0 pypi.org
And 89 more in this version.
discord-py 2.3.0 breaking changes
- Removed
discord.interactions.Interaction.channel
Interaction.channel was removed in discord.py 2.3.0 pypi.org - Removed
discord.types.activity.User.local
User.local was removed in discord.py 2.3.0 pypi.org
And 24 more in this version.
discord-py 2.2.3 breaking changes
- Signature changed
discord.types.gateway.GuildSticker.available
Was available: bool; now available: NotRequired[bool]. pypi.org
discord-py 2.2.0 breaking changes
- Removed
discord.scheduled_event.ScheduledEvent.from_creation
ScheduledEvent.from_creation was removed in discord.py 2.2.0 pypi.org - Removed
discord.state.Client
discord.state.Client was removed in discord.py 2.2.0 pypi.org
And 49 more in this version.
discord-py 2.1.0 breaking changes
- Removed
discord.state.VocalGuildChannel
discord.state.VocalGuildChannel was removed in discord.py 2.1.0 pypi.org - Signature changed
discord.automod.AutoModTrigger.__init__
Was def __init__(self, *, type: Optional[AutoModRuleTriggerType] = None, keyword_filter: Optional[List[str]] = None, presets: Optional[AutoModPresets] = None, allow_list: Optional[List[str]] = None, mention_limit: Optional[int] = None) ->... pypi.org
And 24 more in this version.
discord-py 2.0.1 breaking changes
- Removed
discord.abc.Snowflake.__slots__
Snowflake.__slots__ was removed in discord.py 2.0.1 pypi.org - Signature changed
discord.app_commands.CommandTree.on_error
Was async def on_error(self, interaction: Interaction, error: AppCommandError) -> None; now async def on_error(self, interaction: Interaction, error: AppCommandError, /) -> None. pypi.org
And 8 more in this version.
discord-py 2.0.0 breaking changes
- Removed
discord.__main__.bot_template
discord.__main__.bot_template was removed in discord.py 2.0.0 pypi.org - Removed
discord.__main__.cog_extras
discord.__main__.cog_extras was removed in discord.py 2.0.0 pypi.org
And 761 more in this version.
discord-py 1.0.0 breaking changes
- Removed
discord.activity.Activity.instance
Activity.instance was removed in discord.py 1.0.0 pypi.org - Removed
discord.activity.Activity.secrets
Activity.secrets was removed in discord.py 1.0.0 pypi.org
And 292 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.