Skip to content

Commit 344274b

Browse files
authored
feat(MessageType): PurchaseNotification and PollResult (#1040)
1 parent f770290 commit 344274b

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

deno/payloads/v10/channel.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,10 @@ export enum MessageType {
788788
GuildIncidentAlertModeDisabled,
789789
GuildIncidentReportRaid,
790790
GuildIncidentReportFalseAlarm,
791+
792+
PurchaseNotification = 44,
793+
794+
PollResult = 46,
791795
}
792796

793797
/**
@@ -1264,6 +1268,10 @@ export enum EmbedType {
12641268
* @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages.
12651269
*/
12661270
AutoModerationMessage = 'auto_moderation_message',
1271+
/**
1272+
* Poll result embed
1273+
*/
1274+
PollResult = 'poll_result',
12671275
}
12681276

12691277
/**

deno/payloads/v9/channel.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,10 @@ export enum MessageType {
773773
GuildIncidentAlertModeDisabled,
774774
GuildIncidentReportRaid,
775775
GuildIncidentReportFalseAlarm,
776+
777+
PurchaseNotification = 44,
778+
779+
PollResult = 46,
776780
}
777781

778782
/**
@@ -1231,6 +1235,10 @@ export enum EmbedType {
12311235
* @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages.
12321236
*/
12331237
AutoModerationMessage = 'auto_moderation_message',
1238+
/**
1239+
* Poll result embed
1240+
*/
1241+
PollResult = 'poll_result',
12341242
}
12351243

12361244
/**

payloads/v10/channel.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,10 @@ export enum MessageType {
788788
GuildIncidentAlertModeDisabled,
789789
GuildIncidentReportRaid,
790790
GuildIncidentReportFalseAlarm,
791+
792+
PurchaseNotification = 44,
793+
794+
PollResult = 46,
791795
}
792796

793797
/**
@@ -1264,6 +1268,10 @@ export enum EmbedType {
12641268
* @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages.
12651269
*/
12661270
AutoModerationMessage = 'auto_moderation_message',
1271+
/**
1272+
* Poll result embed
1273+
*/
1274+
PollResult = 'poll_result',
12671275
}
12681276

12691277
/**

payloads/v9/channel.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,10 @@ export enum MessageType {
773773
GuildIncidentAlertModeDisabled,
774774
GuildIncidentReportRaid,
775775
GuildIncidentReportFalseAlarm,
776+
777+
PurchaseNotification = 44,
778+
779+
PollResult = 46,
776780
}
777781

778782
/**
@@ -1231,6 +1235,10 @@ export enum EmbedType {
12311235
* @unstable This embed type is currently not documented by Discord, but it is returned in the auto moderation system messages.
12321236
*/
12331237
AutoModerationMessage = 'auto_moderation_message',
1238+
/**
1239+
* Poll result embed
1240+
*/
1241+
PollResult = 'poll_result',
12341242
}
12351243

12361244
/**

0 commit comments

Comments
 (0)