From 35122621946ab797d4c0b83cecdec1c3df05b6e0 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:45:11 +0000 Subject: [PATCH] feat: full message object on message update (#1140) --- deno/gateway/v10.ts | 12 +----------- deno/gateway/v9.ts | 12 +----------- gateway/v10.ts | 12 +----------- gateway/v9.ts | 12 +----------- 4 files changed, 4 insertions(+), 44 deletions(-) diff --git a/deno/gateway/v10.ts b/deno/gateway/v10.ts index 4d89a9c23..4896f2ca8 100644 --- a/deno/gateway/v10.ts +++ b/deno/gateway/v10.ts @@ -1597,17 +1597,7 @@ export type GatewayMessageUpdateDispatch = DataPayload< /** * https://discord.com/developers/docs/topics/gateway-events#message-update */ -export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & - Omit, 'mentions'> & { - /** - * ID of the message - */ - id: Snowflake; - /** - * ID of the channel the message was sent in - */ - channel_id: Snowflake; - }; +export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & Omit; /** * https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields diff --git a/deno/gateway/v9.ts b/deno/gateway/v9.ts index c700f3755..2f960bd1c 100644 --- a/deno/gateway/v9.ts +++ b/deno/gateway/v9.ts @@ -1596,17 +1596,7 @@ export type GatewayMessageUpdateDispatch = DataPayload< /** * https://discord.com/developers/docs/topics/gateway-events#message-update */ -export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & - Omit, 'mentions'> & { - /** - * ID of the message - */ - id: Snowflake; - /** - * ID of the channel the message was sent in - */ - channel_id: Snowflake; - }; +export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & Omit; /** * https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields diff --git a/gateway/v10.ts b/gateway/v10.ts index 1aab49c52..bac3f7d16 100644 --- a/gateway/v10.ts +++ b/gateway/v10.ts @@ -1597,17 +1597,7 @@ export type GatewayMessageUpdateDispatch = DataPayload< /** * https://discord.com/developers/docs/topics/gateway-events#message-update */ -export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & - Omit, 'mentions'> & { - /** - * ID of the message - */ - id: Snowflake; - /** - * ID of the channel the message was sent in - */ - channel_id: Snowflake; - }; +export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & Omit; /** * https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields diff --git a/gateway/v9.ts b/gateway/v9.ts index d611d455f..0b195b6a6 100644 --- a/gateway/v9.ts +++ b/gateway/v9.ts @@ -1596,17 +1596,7 @@ export type GatewayMessageUpdateDispatch = DataPayload< /** * https://discord.com/developers/docs/topics/gateway-events#message-update */ -export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & - Omit, 'mentions'> & { - /** - * ID of the message - */ - id: Snowflake; - /** - * ID of the channel the message was sent in - */ - channel_id: Snowflake; - }; +export type GatewayMessageUpdateDispatchData = GatewayMessageEventExtraFields & Omit; /** * https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields