Skip to content

Commit

Permalink
feat(MessageType): PurchaseNotification and PollResult (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Sep 5, 2024
1 parent f770290 commit 344274b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,10 @@ export enum MessageType {
GuildIncidentAlertModeDisabled,
GuildIncidentReportRaid,
GuildIncidentReportFalseAlarm,

PurchaseNotification = 44,

PollResult = 46,
}

/**
Expand Down Expand Up @@ -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',
}

/**
Expand Down
8 changes: 8 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,10 @@ export enum MessageType {
GuildIncidentAlertModeDisabled,
GuildIncidentReportRaid,
GuildIncidentReportFalseAlarm,

PurchaseNotification = 44,

PollResult = 46,
}

/**
Expand Down Expand Up @@ -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',
}

/**
Expand Down
8 changes: 8 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,10 @@ export enum MessageType {
GuildIncidentAlertModeDisabled,
GuildIncidentReportRaid,
GuildIncidentReportFalseAlarm,

PurchaseNotification = 44,

PollResult = 46,
}

/**
Expand Down Expand Up @@ -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',
}

/**
Expand Down
8 changes: 8 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,10 @@ export enum MessageType {
GuildIncidentAlertModeDisabled,
GuildIncidentReportRaid,
GuildIncidentReportFalseAlarm,

PurchaseNotification = 44,

PollResult = 46,
}

/**
Expand Down Expand Up @@ -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',
}

/**
Expand Down

0 comments on commit 344274b

Please sign in to comment.