File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def get_logger() -> logging.Logger:
135135EMBED_FIELD_VALUE_LENGTH = 1024
136136
137137POLL_MAX_ANSWERS = 10
138- POLL_MAX_DURATION_HOURS = 168
138+ POLL_MAX_DURATION_HOURS = 768
139139
140140
141141class Singleton (type ):
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class Poll(DictSerializationMixin):
9292 answers : list [PollAnswer ] = attrs .field (repr = False , factory = list , converter = PollAnswer .from_list )
9393 """Each of the answers available in the poll, up to 10."""
9494 expiry : Timestamp = attrs .field (repr = False , default = MISSING , converter = optional (timestamp_converter ))
95- """Number of hours the poll is open for, up to 7 days."""
95+ """Number of hours the poll is open for, up to 32 days."""
9696 allow_multiselect : bool = attrs .field (repr = False , default = False , metadata = no_export_meta )
9797 """Whether a user can select multiple answers."""
9898 layout_type : PollLayoutType = attrs .field (repr = False , default = PollLayoutType .DEFAULT , converter = PollLayoutType )
@@ -101,7 +101,7 @@ class Poll(DictSerializationMixin):
101101 """The results of the poll, if the polls is finished."""
102102
103103 _duration : int = attrs .field (repr = False , default = 0 )
104- """How long, in hours, the poll will be open for (up to 7 days). This is only used when creating polls."""
104+ """How long, in hours, the poll will be open for (up to 32 days). This is only used when creating polls."""
105105
106106 @classmethod
107107 def create (
You can’t perform that action at this time.
0 commit comments