aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/flags.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/discord/flags.py b/discord/flags.py
index 0ca6e34d..67dc760d 100644
--- a/discord/flags.py
+++ b/discord/flags.py
@@ -287,6 +287,15 @@ class MessageFlags(BaseFlags):
"""
return 32
+ @flag_value
+ def ephemeral(Self):
+ """:class:`bool`: Returns ``True`` if the source message is ephemeral.
+
+ .. versionadded:: 2.0
+ """
+ return 64
+
+
@fill_with_flags()
class PublicUserFlags(BaseFlags):
r"""Wraps up the Discord User Public flags.