From bd6a5859b0dfa379e5b3a4f8d94ec3c70e3292a9 Mon Sep 17 00:00:00 2001 From: Mifuyu Date: Fri, 17 May 2024 22:07:57 +0700 Subject: [PATCH] Add polls to other data --- discord_typings/_interactions/_receiving.py | 1 + discord_typings/_resources/_channel.py | 1 + 2 files changed, 2 insertions(+) diff --git a/discord_typings/_interactions/_receiving.py b/discord_typings/_interactions/_receiving.py index be4fc74..8a0c7f2 100644 --- a/discord_typings/_interactions/_receiving.py +++ b/discord_typings/_interactions/_receiving.py @@ -385,6 +385,7 @@ class InteractionMessageCallbackData(TypedDict): flags: NotRequired[int] components: NotRequired[List['discord_typings.ComponentData']] attachments: NotRequired[List['discord_typings.PartialAttachmentData']] + poll: NotRequired['discord_typings.PollCreateRequestData'] class InteractionAutocompleteCallbackData(TypedDict, Generic[_T]): diff --git a/discord_typings/_resources/_channel.py b/discord_typings/_resources/_channel.py index e2235d2..4799206 100644 --- a/discord_typings/_resources/_channel.py +++ b/discord_typings/_resources/_channel.py @@ -273,6 +273,7 @@ class _ChannelMessageData(TypedDict): position: NotRequired[int] role_subscription_data: NotRequired['discord_typings.RoleSubscriptionData'] resolved: NotRequired['discord_typings.ResolvedInteractionDataData'] + poll: NotRequired['discord_typings.PollCreateRequestData'] class _GuildMessageData(_ChannelMessageData):