From 80cbbd7803bfe8668d19b7f7e3aea254a8605c26 Mon Sep 17 00:00:00 2001 From: Mathieu Corsham Date: Thu, 9 Feb 2023 00:41:47 +0100 Subject: [PATCH] feat: Added suppress_notifications message-flag https://github.com/discord/discord-api-docs/pull/5910 --- discord/flags.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index ce67de04..42018aa3 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -325,6 +325,11 @@ def loading(self): def failed_to_mention_some_roles_in_thread(self): """:class:`bool`: Returns ``True`` if the message failed to mention some roles and add their members to the thread.""" return 256 + + @flag_value + def suppress_notifications(self): + """:class:`bool`: Returns ``True`` if the message is "silent" (does not trigger pus-notifications)""" + return 4096 @fill_with_flags()