Browse Source

Improve message flag descriptions

pull/10109/head
dolfies 3 years ago
parent
commit
50cbf5d71d
  1. 8
      discord/flags.py

8
discord/flags.py

@ -305,8 +305,8 @@ class MessageFlags(BaseFlags):
@flag_value @flag_value
def loading(self): def loading(self):
""":class:`bool`: Returns ``True`` if the message is a deferred """:class:`bool`: Returns ``True`` if the message is an
interaction response and has a "bot is thinking" response. Interaction Response and the bot is "thinking".
.. versionadded:: 2.0 .. versionadded:: 2.0
""" """
@ -314,8 +314,8 @@ class MessageFlags(BaseFlags):
@flag_value @flag_value
def failed_to_mention_some_roles_in_thread(self): def failed_to_mention_some_roles_in_thread(self):
""":class:`bool`: Returns ``True`` if Discord failed to add some """:class:`bool`: Returns ``True`` if the source message failed to
mentioned members to the thread. mention some roles and add their members to the thread.
There is an alias for this called :attr:`failed_to_mention_roles`. There is an alias for this called :attr:`failed_to_mention_roles`.

Loading…
Cancel
Save