From de78a1071f195ed0fc8f6a1cd8e2c6e253e3f4da Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat, 19 Feb 2022 03:20:00 +0100 Subject: [PATCH] Add message content intent application flags --- discord/flags.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index eee533769..8de5bee75 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -1120,3 +1120,15 @@ class ApplicationFlags(BaseFlags): def embedded(self): """:class:`bool`: Returns ``True`` if the application is embedded within the Discord client.""" return 1 << 17 + + @flag_value + def gateway_message_content(self): + """:class:`bool`: Returns ``True`` if the application is verified and is allowed to + read message content in guilds.""" + return 1 << 18 + + @flag_value + def gateway_message_content_limited(self): + """:class:`bool`: Returns ``True`` if the application is unverified and is allowed to + read message content in guilds.""" + return 1 << 19