From 3610f2296d641a2a2234ec0c9066d7bf3181c90f Mon Sep 17 00:00:00 2001 From: Astrea <25420078+AstreaTSS@users.noreply.github.com> Date: Thu, 27 Jun 2024 10:36:05 -0400 Subject: [PATCH] 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 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Katelyn Gigante --- interactions/models/discord/poll.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/interactions/models/discord/poll.py b/interactions/models/discord/poll.py index e475b2d96..7498e0c14 100644 --- a/interactions/models/discord/poll.py +++ b/interactions/models/discord/poll.py @@ -9,7 +9,6 @@ timestamp_converter, ) from interactions.client.mixins.serialization import DictSerializationMixin -from interactions.client.utils.serializer import no_export_meta from interactions.models.discord.emoji import PartialEmoji, process_emoji from interactions.models.discord.enums import PollLayoutType from interactions.models.discord.timestamp import Timestamp @@ -93,7 +92,7 @@ class Poll(DictSerializationMixin): """Each of the answers available in the poll, up to 10.""" expiry: Timestamp = attrs.field(repr=False, default=MISSING, converter=optional(timestamp_converter)) """Number of hours the poll is open for, up to 32 days.""" - allow_multiselect: bool = attrs.field(repr=False, default=False, metadata=no_export_meta) + allow_multiselect: bool = attrs.field(repr=False, default=False) """Whether a user can select multiple answers.""" layout_type: PollLayoutType = attrs.field(repr=False, default=PollLayoutType.DEFAULT, converter=PollLayoutType) """The layout type of the poll."""