Add missing Poll attribute documentation

This commit is contained in:
Rapptz 2025-02-18 07:28:12 -05:00
parent 43e1c55d11
commit e8d571b194

View File

@ -336,6 +336,15 @@ class Poll:
Defaults to ``False``.
layout_type: :class:`PollLayoutType`
The layout type of the poll. Defaults to :attr:`PollLayoutType.default`.
Attributes
-----------
duration: :class:`datetime.timedelta`
The duration of the poll.
multiple: :class:`bool`
Whether users are allowed to select more than one answer.
layout_type: :class:`PollLayoutType`
The layout type of the poll.
"""
__slots__ = (