From 344274b56c25b9a35a64fc61b170c177ee702e95 Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 5 Sep 2024 16:30:06 +0100 Subject: [PATCH] feat(MessageType): `PurchaseNotification` and `PollResult` (#1040) --- deno/payloads/v10/channel.ts | 8 ++++++++ deno/payloads/v9/channel.ts | 8 ++++++++ payloads/v10/channel.ts | 8 ++++++++ payloads/v9/channel.ts | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 0d52f3a81..3d45def68 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -788,6 +788,10 @@ export enum MessageType { GuildIncidentAlertModeDisabled, GuildIncidentReportRaid, GuildIncidentReportFalseAlarm, + + PurchaseNotification = 44, + + PollResult = 46, } /** @@ -1264,6 +1268,10 @@ export enum EmbedType { * @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages. */ AutoModerationMessage = 'auto_moderation_message', + /** + * Poll result embed + */ + PollResult = 'poll_result', } /** diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index b8cb605f2..3ad64081e 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -773,6 +773,10 @@ export enum MessageType { GuildIncidentAlertModeDisabled, GuildIncidentReportRaid, GuildIncidentReportFalseAlarm, + + PurchaseNotification = 44, + + PollResult = 46, } /** @@ -1231,6 +1235,10 @@ export enum EmbedType { * @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages. */ AutoModerationMessage = 'auto_moderation_message', + /** + * Poll result embed + */ + PollResult = 'poll_result', } /** diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 1d5873d84..c40ceb906 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -788,6 +788,10 @@ export enum MessageType { GuildIncidentAlertModeDisabled, GuildIncidentReportRaid, GuildIncidentReportFalseAlarm, + + PurchaseNotification = 44, + + PollResult = 46, } /** @@ -1264,6 +1268,10 @@ export enum EmbedType { * @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages. */ AutoModerationMessage = 'auto_moderation_message', + /** + * Poll result embed + */ + PollResult = 'poll_result', } /** diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index e30cbb33f..ca06e24c4 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -773,6 +773,10 @@ export enum MessageType { GuildIncidentAlertModeDisabled, GuildIncidentReportRaid, GuildIncidentReportFalseAlarm, + + PurchaseNotification = 44, + + PollResult = 46, } /** @@ -1231,6 +1235,10 @@ export enum EmbedType { * @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages. */ AutoModerationMessage = 'auto_moderation_message', + /** + * Poll result embed + */ + PollResult = 'poll_result', } /**