Skip to content

Commit

Permalink
Add bulk ban data for new endpoint (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluenix2 authored Jun 2, 2024
1 parent 742333c commit 3d084f7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions discord_typings/_resources/_guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'GuildOnboardingPromptTypes',
'ChannelPositionData',
'ListThreadsData',
'BulkBanData',
'RolePositionData',
'RoleData',
'RoleTagsData',
Expand Down Expand Up @@ -394,6 +395,14 @@ class ListThreadsData(TypedDict):
members: List['discord_typings.ThreadMemberData']


# https://discord.com/developers/docs/resources/guild#bulk-guild-ban-bulk-ban-response


class BulkBanData(TypedDict):
banned_users: List['discord_typings.Snowflake']
failed_users: List['discord_typings.Snowflake']


# https://discord.com/developers/docs/resources/guild#modify-guild-role-positions-json-params


Expand Down

0 comments on commit 3d084f7

Please sign in to comment.