Browse Source

Document Section.accessory as an attribute

v2.6.x
Rapptz 2 weeks ago
parent
commit
15ba468064
  1. 5
      discord/ui/section.py

5
discord/ui/section.py

@ -57,6 +57,11 @@ class Section(Item[V]):
The section accessory.
id: Optional[:class:`int`]
The ID of this component. This must be unique across the view.
Attributes
----------
accessory: :class:`Item`
The section accessory.
"""
__item_repr_attributes__ = (

Loading…
Cancel
Save