From aea3c24863eca87ae9949e79520016ea9b99377a Mon Sep 17 00:00:00 2001 From: Mifuyu Date: Sat, 18 May 2024 01:11:17 +0700 Subject: [PATCH] Change PollLayoutTypes to PollLayoutType --- discord_typings/_resources/_polls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord_typings/_resources/_polls.py b/discord_typings/_resources/_polls.py index 96b7295..937c821 100644 --- a/discord_typings/_resources/_polls.py +++ b/discord_typings/_resources/_polls.py @@ -7,7 +7,7 @@ __all__ = ( 'PollData', 'PollCreateRequestData', - 'PollLayoutTypes', + 'PollLayoutType', 'PollMediaData', 'PollAnswerData', 'PollResultsData', @@ -23,7 +23,7 @@ class PollData(TypedDict): answers: List['discord_typings.PollAnswerData'] expiry: Optional[str] allow_multiselect: bool - layout_type: 'discord_typings.PollLayoutTypes' + layout_type: 'discord_typings.PollLayoutType' results: NotRequired['discord_typings.PollResultsData'] @@ -35,13 +35,13 @@ class PollCreateRequestData(TypedDict): answers: List['discord_typings.PollAnswerData'] duration: int allow_multiselect: bool - layout_type: NotRequired['discord_typings.PollLayoutTypes'] + layout_type: NotRequired['discord_typings.PollLayoutType'] # https://discord.com/developers/docs/resources/poll#layout-type -PollLayoutTypes = Literal[1] +PollLayoutType = Literal[1] # https://discord.com/developers/docs/resources/poll#poll-media-object-poll-media-object-structure