Skip to content

Commit 80cbbd7

Browse files
committed
feat: Added suppress_notifications message-flag
discord/discord-api-docs#5910
1 parent 8043947 commit 80cbbd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

discord/flags.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ def loading(self):
325325
def failed_to_mention_some_roles_in_thread(self):
326326
""":class:`bool`: Returns ``True`` if the message failed to mention some roles and add their members to the thread."""
327327
return 256
328+
329+
@flag_value
330+
def suppress_notifications(self):
331+
""":class:`bool`: Returns ``True`` if the message is "silent" (does not trigger pus-notifications)"""
332+
return 4096
328333

329334

330335
@fill_with_flags()

0 commit comments

Comments
 (0)