From 60b69e5d57f0d8fbeb143b13a08c71dad9f84346 Mon Sep 17 00:00:00 2001 From: Nadir Chowdhury Date: Sun, 27 Feb 2022 10:09:04 +0000 Subject: [PATCH] Add missing message flags --- discord/flags.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index 697a8986b..22f8425c4 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -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):