diff --git a/deno/payloads/v10/webhook.ts b/deno/payloads/v10/webhook.ts index 5bc2d0be..f9003b15 100644 --- a/deno/payloads/v10/webhook.ts +++ b/deno/payloads/v10/webhook.ts @@ -30,11 +30,11 @@ export interface APIWebhook { /** * The guild id this webhook is for */ - guild_id?: Snowflake; + guild_id?: Snowflake | null; /** * The channel id this webhook is for */ - channel_id: Snowflake; + channel_id: Snowflake | null; /** * The user this webhook was created by (not returned when getting a webhook with its token) * diff --git a/deno/payloads/v9/webhook.ts b/deno/payloads/v9/webhook.ts index 5bc2d0be..f9003b15 100644 --- a/deno/payloads/v9/webhook.ts +++ b/deno/payloads/v9/webhook.ts @@ -30,11 +30,11 @@ export interface APIWebhook { /** * The guild id this webhook is for */ - guild_id?: Snowflake; + guild_id?: Snowflake | null; /** * The channel id this webhook is for */ - channel_id: Snowflake; + channel_id: Snowflake | null; /** * The user this webhook was created by (not returned when getting a webhook with its token) * diff --git a/payloads/v10/webhook.ts b/payloads/v10/webhook.ts index 14fa886a..26dc436c 100644 --- a/payloads/v10/webhook.ts +++ b/payloads/v10/webhook.ts @@ -30,11 +30,11 @@ export interface APIWebhook { /** * The guild id this webhook is for */ - guild_id?: Snowflake; + guild_id?: Snowflake | null; /** * The channel id this webhook is for */ - channel_id: Snowflake; + channel_id: Snowflake | null; /** * The user this webhook was created by (not returned when getting a webhook with its token) * diff --git a/payloads/v9/webhook.ts b/payloads/v9/webhook.ts index 14fa886a..26dc436c 100644 --- a/payloads/v9/webhook.ts +++ b/payloads/v9/webhook.ts @@ -30,11 +30,11 @@ export interface APIWebhook { /** * The guild id this webhook is for */ - guild_id?: Snowflake; + guild_id?: Snowflake | null; /** * The channel id this webhook is for */ - channel_id: Snowflake; + channel_id: Snowflake | null; /** * The user this webhook was created by (not returned when getting a webhook with its token) *