Browse Source

Add MessageFlags.ephemeral

pull/7167/head
Rapptz 4 years ago
parent
commit
17268c3368
  1. 9
      discord/flags.py

9
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.

Loading…
Cancel
Save