Skip to content

Commit f4be33b

Browse files
authored
fix: don't ignore allow_multiselect when serializing
1 parent cf395d1 commit f4be33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/discord/poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Poll(DictSerializationMixin):
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))
9595
"""Number of hours the poll is open for, up to 7 days."""
96-
allow_multiselect: bool = attrs.field(repr=False, default=False, metadata=no_export_meta)
96+
allow_multiselect: bool = attrs.field(repr=False, default=False)
9797
"""Whether a user can select multiple answers."""
9898
layout_type: PollLayoutType = attrs.field(repr=False, default=PollLayoutType.DEFAULT, converter=PollLayoutType)
9999
"""The layout type of the poll."""

0 commit comments

Comments
 (0)