From 5056b0f2b3798480dbbc193fd80dedfefedff4fc Mon Sep 17 00:00:00 2001 From: Blake Leonard Date: Fri, 7 Jan 2022 14:14:03 -0500 Subject: [PATCH] feat(RESTPatchAPIGuildMember): add `communication_disabled_until` field (#289) --- deno/rest/v8/guild.ts | 4 ++++ deno/rest/v9/guild.ts | 4 ++++ rest/v8/guild.ts | 4 ++++ rest/v9/guild.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/rest/v8/guild.ts b/deno/rest/v8/guild.ts index 82cbb8bb..69c6585e 100644 --- a/deno/rest/v8/guild.ts +++ b/deno/rest/v8/guild.ts @@ -435,6 +435,10 @@ export type RESTPatchAPIGuildMemberJSONBody = AddUndefinedToPossiblyUndefinedPro * Requires `MOVE_MEMBERS` permission */ channel_id?: Snowflake | null; + /** + * Timestamp of when the time out will be removed; until then, they cannot interact with the guild + */ + communication_disabled_until?: string | null; }>; /** diff --git a/deno/rest/v9/guild.ts b/deno/rest/v9/guild.ts index 5d15c743..95d2e5d3 100644 --- a/deno/rest/v9/guild.ts +++ b/deno/rest/v9/guild.ts @@ -441,6 +441,10 @@ export type RESTPatchAPIGuildMemberJSONBody = AddUndefinedToPossiblyUndefinedPro * Requires `MOVE_MEMBERS` permission */ channel_id?: Snowflake | null; + /** + * Timestamp of when the time out will be removed; until then, they cannot interact with the guild + */ + communication_disabled_until?: string | null; }>; /** diff --git a/rest/v8/guild.ts b/rest/v8/guild.ts index 2e66f953..b9f898b0 100644 --- a/rest/v8/guild.ts +++ b/rest/v8/guild.ts @@ -435,6 +435,10 @@ export type RESTPatchAPIGuildMemberJSONBody = AddUndefinedToPossiblyUndefinedPro * Requires `MOVE_MEMBERS` permission */ channel_id?: Snowflake | null; + /** + * Timestamp of when the time out will be removed; until then, they cannot interact with the guild + */ + communication_disabled_until?: string | null; }>; /** diff --git a/rest/v9/guild.ts b/rest/v9/guild.ts index 4be835a9..eae10399 100644 --- a/rest/v9/guild.ts +++ b/rest/v9/guild.ts @@ -441,6 +441,10 @@ export type RESTPatchAPIGuildMemberJSONBody = AddUndefinedToPossiblyUndefinedPro * Requires `MOVE_MEMBERS` permission */ channel_id?: Snowflake | null; + /** + * Timestamp of when the time out will be removed; until then, they cannot interact with the guild + */ + communication_disabled_until?: string | null; }>; /**