mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Add missing message flags
This commit is contained in:
parent
8269e99a7a
commit
60b69e5d57
@ -304,6 +304,24 @@ class MessageFlags(BaseFlags):
|
||||
"""
|
||||
return 64
|
||||
|
||||
@flag_value
|
||||
def loading(self):
|
||||
""":class:`bool`: Returns ``True`` if the message is an interaction response and the bot
|
||||
is "thinking".
|
||||
|
||||
.. versionadded:: 2.0
|
||||
"""
|
||||
return 128
|
||||
|
||||
@flag_value
|
||||
def failed_to_mention_some_roles_in_thread(self):
|
||||
""":class:`bool`: Returns ``True`` if the message failed to mention some roles in a thread
|
||||
and add their members to the thread.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
"""
|
||||
return 256
|
||||
|
||||
|
||||
@fill_with_flags()
|
||||
class PublicUserFlags(BaseFlags):
|
||||
|
Loading…
x
Reference in New Issue
Block a user