From 3d084f7091f42e9dad0336caaee6e793862a6c70 Mon Sep 17 00:00:00 2001 From: Bluenix Date: Sun, 2 Jun 2024 19:59:10 +0200 Subject: [PATCH] Add bulk ban data for new endpoint (#41) --- discord_typings/_resources/_guild.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/discord_typings/_resources/_guild.py b/discord_typings/_resources/_guild.py index 5e74834..9ec1a46 100644 --- a/discord_typings/_resources/_guild.py +++ b/discord_typings/_resources/_guild.py @@ -35,6 +35,7 @@ 'GuildOnboardingPromptTypes', 'ChannelPositionData', 'ListThreadsData', + 'BulkBanData', 'RolePositionData', 'RoleData', 'RoleTagsData', @@ -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