Skip to content

Commit

Permalink
Add polls to other data
Browse files Browse the repository at this point in the history
  • Loading branch information
mifuyutsuki committed May 17, 2024
1 parent 009ec9b commit bd6a585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions discord_typings/_interactions/_receiving.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down
1 change: 1 addition & 0 deletions discord_typings/_resources/_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bd6a585

Please sign in to comment.