Skip to content

Commit

Permalink
feat(MessageType): add SuppressNotifications (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Feb 8, 2023
1 parent fddb6f1 commit b14aea6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deno/payloads/v10/channel.ts
Expand Up @@ -806,6 +806,10 @@ export enum MessageFlags {
* This message failed to mention some roles and add their members to the thread
*/
FailedToMentionSomeRolesInThread = 1 << 8,
/**
* This message will not trigger push and desktop notifications
*/
SuppressNotifications = 1 << 12,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions deno/payloads/v9/channel.ts
Expand Up @@ -792,6 +792,10 @@ export enum MessageFlags {
* This message failed to mention some roles and add their members to the thread
*/
FailedToMentionSomeRolesInThread = 1 << 8,
/**
* This message will not trigger push and desktop notifications
*/
SuppressNotifications = 1 << 12,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v10/channel.ts
Expand Up @@ -806,6 +806,10 @@ export enum MessageFlags {
* This message failed to mention some roles and add their members to the thread
*/
FailedToMentionSomeRolesInThread = 1 << 8,
/**
* This message will not trigger push and desktop notifications
*/
SuppressNotifications = 1 << 12,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v9/channel.ts
Expand Up @@ -792,6 +792,10 @@ export enum MessageFlags {
* This message failed to mention some roles and add their members to the thread
*/
FailedToMentionSomeRolesInThread = 1 << 8,
/**
* This message will not trigger push and desktop notifications
*/
SuppressNotifications = 1 << 12,
}

/**
Expand Down

1 comment on commit b14aea6

@vercel
Copy link

@vercel vercel bot commented on b14aea6 Feb 8, 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.