mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Add missing Poll attribute documentation
This commit is contained in:
parent
43e1c55d11
commit
e8d571b194
@ -336,6 +336,15 @@ class Poll:
|
|||||||
Defaults to ``False``.
|
Defaults to ``False``.
|
||||||
layout_type: :class:`PollLayoutType`
|
layout_type: :class:`PollLayoutType`
|
||||||
The layout type of the poll. Defaults to :attr:`PollLayoutType.default`.
|
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__ = (
|
__slots__ = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user