Add versionadded to ui.View and ui.Item

This commit is contained in:
scrazzz
2021-07-21 09:47:52 +03:00
committed by GitHub
parent 07483297ad
commit a0e5e062c9
2 changed files with 4 additions and 0 deletions

View File

@ -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',)