Skip to content

Commit aa8b168

Browse files
committed
Fix
1 parent 5bd5e29 commit aa8b168

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

discord/flags.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,6 @@ def default(cls: Type[Intents]) -> Intents:
556556
self = cls.all()
557557
self.presences = False
558558
self.members = False
559-
self.guild_messages = False
560559
return self
561560

562561
@flag_value
@@ -774,8 +773,6 @@ def messages(self):
774773
- :func:`on_reaction_remove` (both guilds and DMs)
775774
- :func:`on_reaction_clear` (both guilds and DMs)
776775
777-
Since this includes :attr:`guild_messages`, this intent is privileged. For more information go to the :ref:`message content intent documentation <need_message_content_intent>`.
778-
779776
.. note::
780777
781778
Currently requires opting in explicitly via the developer portal to receive the actual content of the guild messages.
@@ -809,6 +806,13 @@ def guild_messages(self):
809806
- :func:`on_reaction_remove` (only for guilds)
810807
- :func:`on_reaction_clear` (only for guilds)
811808
809+
Without the :attr:`ApplicationFlags.gateway_message_content` intent enabled, the following fields are either an empty string or empty array:
810+
811+
- :attr:`Message.content`
812+
- :attr:`Message.embeds`
813+
- :attr:`Message.attachments`
814+
- :attr:`Message.components`
815+
812816
For more information go to the :ref:`message content intent documentation <need_message_content_intent>`.
813817
814818
.. note::

0 commit comments

Comments
 (0)