aboutsummaryrefslogtreecommitdiff
path: root/discord/flags.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/flags.py')
-rw-r--r--discord/flags.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/flags.py b/discord/flags.py
index dc89c46d..864ed915 100644
--- a/discord/flags.py
+++ b/discord/flags.py
@@ -215,3 +215,11 @@ class MessageFlags(BaseFlags):
def source_message_deleted(self):
""":class:`bool`: Returns ``True`` if the source message for this crosspost has been deleted."""
return 8
+
+ @flag_value
+ def urgent(self):
+ """:class:`bool`: Returns ``True`` if the source message is an urgent message.
+
+ An urgent message is one sent by Discord Trust and Safety.
+ """
+ return 16