Skip to content

Commit

Permalink
feat(MessageType): add missing types (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Jan 7, 2023
1 parent ba4ee01 commit 7d55b33
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 0 deletions.
24 changes: 24 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ export enum MessageType {
GuildBoostTier2,
GuildBoostTier3,
ChannelFollowAdd,

GuildDiscoveryDisqualified = 14,
GuildDiscoveryRequalified,
GuildDiscoveryGracePeriodInitialWarning,
Expand All @@ -688,6 +689,29 @@ export enum MessageType {
GuildInviteReminder,
ContextMenuCommand,
AutoModerationAction,

InteractionPremiumUpsell = 26,
/**
* @unstable
*/
StageStart,
/**
* @unstable
*/
StageEnd,
/**
* @unstable
*/
StageSpeaker,
/**
* @unstable
*/
StageRaiseHand,
/**
* @unstable
*/
StageTopic,
GuildApplicationPremiumSubscription,
}

/**
Expand Down
24 changes: 24 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ export enum MessageType {
GuildBoostTier2,
GuildBoostTier3,
ChannelFollowAdd,

GuildDiscoveryDisqualified = 14,
GuildDiscoveryRequalified,
GuildDiscoveryGracePeriodInitialWarning,
Expand All @@ -679,6 +680,29 @@ export enum MessageType {
GuildInviteReminder,
ContextMenuCommand,
AutoModerationAction,

InteractionPremiumUpsell = 26,
/**
* @unstable
*/
StageStart,
/**
* @unstable
*/
StageEnd,
/**
* @unstable
*/
StageSpeaker,
/**
* @unstable
*/
StageRaiseHand,
/**
* @unstable
*/
StageTopic,
GuildApplicationPremiumSubscription,
}

/**
Expand Down
24 changes: 24 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ export enum MessageType {
GuildBoostTier2,
GuildBoostTier3,
ChannelFollowAdd,

GuildDiscoveryDisqualified = 14,
GuildDiscoveryRequalified,
GuildDiscoveryGracePeriodInitialWarning,
Expand All @@ -688,6 +689,29 @@ export enum MessageType {
GuildInviteReminder,
ContextMenuCommand,
AutoModerationAction,

InteractionPremiumUpsell = 26,
/**
* @unstable
*/
StageStart,
/**
* @unstable
*/
StageEnd,
/**
* @unstable
*/
StageSpeaker,
/**
* @unstable
*/
StageRaiseHand,
/**
* @unstable
*/
StageTopic,
GuildApplicationPremiumSubscription,
}

/**
Expand Down
24 changes: 24 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ export enum MessageType {
GuildBoostTier2,
GuildBoostTier3,
ChannelFollowAdd,

GuildDiscoveryDisqualified = 14,
GuildDiscoveryRequalified,
GuildDiscoveryGracePeriodInitialWarning,
Expand All @@ -679,6 +680,29 @@ export enum MessageType {
GuildInviteReminder,
ContextMenuCommand,
AutoModerationAction,

InteractionPremiumUpsell = 26,
/**
* @unstable
*/
StageStart,
/**
* @unstable
*/
StageEnd,
/**
* @unstable
*/
StageSpeaker,
/**
* @unstable
*/
StageRaiseHand,
/**
* @unstable
*/
StageTopic,
GuildApplicationPremiumSubscription,
}

/**
Expand Down

1 comment on commit 7d55b33

@vercel
Copy link

@vercel vercel bot commented on 7d55b33 Jan 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.