From b14aea65f886db047ea9fcbd1b8f49f1bc38f594 Mon Sep 17 00:00:00 2001 From: Almeida Date: Wed, 8 Feb 2023 22:01:17 +0000 Subject: [PATCH] feat(MessageType): add `SuppressNotifications` (#710) --- deno/payloads/v10/channel.ts | 4 ++++ deno/payloads/v9/channel.ts | 4 ++++ payloads/v10/channel.ts | 4 ++++ payloads/v9/channel.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 825022603..7f299b784 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -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, } /** diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index fe760e042..9c5661c64 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -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, } /** diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 0f963ee7f..d300c191b 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -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, } /** diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index 6af1beaa1..147cee1e1 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -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, } /**