Skip to content

Commit fc6f51e

Browse files
committed
Support new burst reactions
1 parent b1bbfb3 commit fc6f51e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

discord_typings/_resources/_channel.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'MessageReferenceData',
2929
'FollowedChannelData',
3030
'MessageReactionData',
31+
'ReactionCountDetailsData',
3132
'PermissionOverwriteData',
3233
'ThreadMetadataData',
3334
'ThreadMemberData',
@@ -330,8 +331,19 @@ class FollowedChannelData(TypedDict):
330331

331332
class MessageReactionData(TypedDict):
332333
count: int
334+
count_details: 'discord_typings.ReactionCountDetailsData'
333335
me: bool
336+
me_burst: bool
334337
emoji: 'discord_typings.EmojiData'
338+
burst_colors: List[str]
339+
340+
341+
# https://discord.com/developers/docs/resources/channel#reaction-count-details-object
342+
343+
344+
class ReactionCountDetailsData(TypedDict):
345+
burst: int
346+
normal: int
335347

336348

337349
# https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure

0 commit comments

Comments
 (0)