mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
Add MessageFlags.ephemeral
This commit is contained in:
parent
6a553b2347
commit
17268c3368
@ -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…
x
Reference in New Issue
Block a user