Skip to content

Commit 3610f22

Browse files
AstreaTSSpre-commit-ci[bot]silasary
authored
fix: don't ignore allow_multiselect when serializing (#1705)
* fix: don't ignore allow_multiselect when serializing * ci: correct from checks. --------- Signed-off-by: Katelyn Gigante <clockwork.singularity@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
1 parent 1dac6e0 commit 3610f22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

interactions/models/discord/poll.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
timestamp_converter,
1010
)
1111
from interactions.client.mixins.serialization import DictSerializationMixin
12-
from interactions.client.utils.serializer import no_export_meta
1312
from interactions.models.discord.emoji import PartialEmoji, process_emoji
1413
from interactions.models.discord.enums import PollLayoutType
1514
from interactions.models.discord.timestamp import Timestamp
@@ -93,7 +92,7 @@ class Poll(DictSerializationMixin):
9392
"""Each of the answers available in the poll, up to 10."""
9493
expiry: Timestamp = attrs.field(repr=False, default=MISSING, converter=optional(timestamp_converter))
9594
"""Number of hours the poll is open for, up to 32 days."""
96-
allow_multiselect: bool = attrs.field(repr=False, default=False, metadata=no_export_meta)
95+
allow_multiselect: bool = attrs.field(repr=False, default=False)
9796
"""Whether a user can select multiple answers."""
9897
layout_type: PollLayoutType = attrs.field(repr=False, default=PollLayoutType.DEFAULT, converter=PollLayoutType)
9998
"""The layout type of the poll."""

0 commit comments

Comments
 (0)