diff --git a/discord/ui/item.py b/discord/ui/item.py index d79fd9370..46c529707 100644 --- a/discord/ui/item.py +++ b/discord/ui/item.py @@ -49,6 +49,8 @@ class Item(Generic[V]): - :class:`discord.ui.Button` - :class:`discord.ui.Select` + + .. versionadded:: 2.0 """ __item_repr_attributes__: Tuple[str, ...] = ('row',) diff --git a/discord/ui/view.py b/discord/ui/view.py index 671656cef..462b6f83d 100644 --- a/discord/ui/view.py +++ b/discord/ui/view.py @@ -120,6 +120,8 @@ class View: This object must be inherited to create a UI within Discord. + .. versionadded:: 2.0 + Parameters ----------- timeout: Optional[:class:`float`]