diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 9e0f98c5..a57a33d3 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -127,7 +127,7 @@ export interface APIGuild extends APIPartialGuild { * @see {@link https://discord.com/developers/docs/resources/voice#voice-region-object} * @deprecated This field has been deprecated in favor of `rtc_region` on the channel. */ - region: string; + region?: string | null; /** * ID of afk channel */ @@ -275,7 +275,7 @@ export interface APIGuild extends APIPartialGuild { * * @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object} */ - stickers: APISticker[]; + stickers?: APISticker[]; /** * Whether the guild has the boost progress bar enabled. */ @@ -638,7 +638,7 @@ export interface APIGuildPreview { /** * The description for the guild */ - description: string; + description: string | null; /** * Custom guild stickers */ diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 9c93d5e0..923e980a 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -127,7 +127,7 @@ export interface APIGuild extends APIPartialGuild { * @see {@link https://discord.com/developers/docs/resources/voice#voice-region-object} * @deprecated This field has been deprecated in favor of `rtc_region` on the channel. */ - region: string; + region?: string | null; /** * ID of afk channel */ @@ -275,7 +275,7 @@ export interface APIGuild extends APIPartialGuild { * * @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object} */ - stickers: APISticker[]; + stickers?: APISticker[]; /** * Whether the guild has the boost progress bar enabled. */ @@ -630,7 +630,7 @@ export interface APIGuildPreview { /** * The description for the guild */ - description: string; + description: string | null; /** * Custom guild stickers */ diff --git a/deno/rest/v10/guild.ts b/deno/rest/v10/guild.ts index eb2ca9aa..b59b04a3 100644 --- a/deno/rest/v10/guild.ts +++ b/deno/rest/v10/guild.ts @@ -382,11 +382,11 @@ export type RESTPatchAPIGuildChannelPositionsJSONBody = { /** * Sorting position of the channel */ - position: number; + position?: number | null | undefined; /** * Sync channel overwrites with the new parent, when moving to a new `parent_id` */ - lock_permissions?: boolean | undefined; + lock_permissions?: boolean | null | undefined; /** * The new parent id of this channel */ diff --git a/deno/rest/v9/guild.ts b/deno/rest/v9/guild.ts index b2e9fe7a..3fb7fa92 100644 --- a/deno/rest/v9/guild.ts +++ b/deno/rest/v9/guild.ts @@ -382,11 +382,11 @@ export type RESTPatchAPIGuildChannelPositionsJSONBody = { /** * Sorting position of the channel */ - position: number; + position?: number | null | undefined; /** * Sync channel overwrites with the new parent, when moving to a new `parent_id` */ - lock_permissions?: boolean | undefined; + lock_permissions?: boolean | null | undefined; /** * The new parent id of this channel */ diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index a38568b3..66fd96ca 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -127,7 +127,7 @@ export interface APIGuild extends APIPartialGuild { * @see {@link https://discord.com/developers/docs/resources/voice#voice-region-object} * @deprecated This field has been deprecated in favor of `rtc_region` on the channel. */ - region: string; + region?: string | null; /** * ID of afk channel */ @@ -275,7 +275,7 @@ export interface APIGuild extends APIPartialGuild { * * @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object} */ - stickers: APISticker[]; + stickers?: APISticker[]; /** * Whether the guild has the boost progress bar enabled. */ @@ -638,7 +638,7 @@ export interface APIGuildPreview { /** * The description for the guild */ - description: string; + description: string | null; /** * Custom guild stickers */ diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 4e58e38c..9a2f21d1 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -127,7 +127,7 @@ export interface APIGuild extends APIPartialGuild { * @see {@link https://discord.com/developers/docs/resources/voice#voice-region-object} * @deprecated This field has been deprecated in favor of `rtc_region` on the channel. */ - region: string; + region?: string | null; /** * ID of afk channel */ @@ -275,7 +275,7 @@ export interface APIGuild extends APIPartialGuild { * * @see {@link https://discord.com/developers/docs/resources/sticker#sticker-object} */ - stickers: APISticker[]; + stickers?: APISticker[]; /** * Whether the guild has the boost progress bar enabled. */ @@ -630,7 +630,7 @@ export interface APIGuildPreview { /** * The description for the guild */ - description: string; + description: string | null; /** * Custom guild stickers */ diff --git a/rest/v10/guild.ts b/rest/v10/guild.ts index b7970d30..5e6fafd0 100644 --- a/rest/v10/guild.ts +++ b/rest/v10/guild.ts @@ -382,11 +382,11 @@ export type RESTPatchAPIGuildChannelPositionsJSONBody = { /** * Sorting position of the channel */ - position: number; + position?: number | null | undefined; /** * Sync channel overwrites with the new parent, when moving to a new `parent_id` */ - lock_permissions?: boolean | undefined; + lock_permissions?: boolean | null | undefined; /** * The new parent id of this channel */ diff --git a/rest/v9/guild.ts b/rest/v9/guild.ts index 9e7bcd7a..ef62caa5 100644 --- a/rest/v9/guild.ts +++ b/rest/v9/guild.ts @@ -382,11 +382,11 @@ export type RESTPatchAPIGuildChannelPositionsJSONBody = { /** * Sorting position of the channel */ - position: number; + position?: number | null | undefined; /** * Sync channel overwrites with the new parent, when moving to a new `parent_id` */ - lock_permissions?: boolean | undefined; + lock_permissions?: boolean | null | undefined; /** * The new parent id of this channel */