diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index e23bc1565..7b36249a8 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -280,6 +280,10 @@ export interface APIGuild extends APIPartialGuild { * The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord */ safety_alerts_channel_id: Snowflake | null; + /** + * The incidents data for this guild + */ + incidents_data: IncidentsData; } /** @@ -1120,3 +1124,14 @@ export enum GuildOnboardingPromptType { MultipleChoice, Dropdown, } + +export interface IncidentsData { + /** + * When invites get enabled again + */ + invites_disabled_until: string | null; + /** + * When direct messages get enabled again + */ + dms_disabled_until: string | null; +} diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 67b18fbd1..4b83ffa6f 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -280,6 +280,10 @@ export interface APIGuild extends APIPartialGuild { * The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord */ safety_alerts_channel_id: Snowflake | null; + /** + * The incidents data for this guild + */ + incidents_data: IncidentsData; } /** @@ -1112,3 +1116,14 @@ export enum GuildOnboardingPromptType { MultipleChoice, Dropdown, } + +export interface IncidentsData { + /** + * When invites get enabled again + */ + invites_disabled_until: string | null; + /** + * When direct messages get enabled again + */ + dms_disabled_until: string | null; +} diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 7bad46f35..4b5df5aa1 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -280,6 +280,10 @@ export interface APIGuild extends APIPartialGuild { * The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord */ safety_alerts_channel_id: Snowflake | null; + /** + * The incidents data for this guild + */ + incidents_data: IncidentsData; } /** @@ -1120,3 +1124,14 @@ export enum GuildOnboardingPromptType { MultipleChoice, Dropdown, } + +export interface IncidentsData { + /** + * When invites get enabled again + */ + invites_disabled_until: string | null; + /** + * When direct messages get enabled again + */ + dms_disabled_until: string | null; +} diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 59912747a..5af4dcf71 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -280,6 +280,10 @@ export interface APIGuild extends APIPartialGuild { * The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord */ safety_alerts_channel_id: Snowflake | null; + /** + * The incidents data for this guild + */ + incidents_data: IncidentsData; } /** @@ -1112,3 +1116,14 @@ export enum GuildOnboardingPromptType { MultipleChoice, Dropdown, } + +export interface IncidentsData { + /** + * When invites get enabled again + */ + invites_disabled_until: string | null; + /** + * When direct messages get enabled again + */ + dms_disabled_until: string | null; +}